/* Adapt the live generator controls to the supplied prototype, keeping its layout. */
body.mapstl-prototype #generator-page{max-width:none;margin:0;padding:0}
body.mapstl-prototype #map-builder{scroll-margin-top:80px}
body.mapstl-prototype .prototype-builder .workspace{display:block;margin:0;overflow:visible;min-height:0;gap:0}
body.mapstl-prototype .prototype-builder .config-panel{display:block;width:auto;border:0;border-radius:0;background:transparent;overflow:visible;position:static;max-height:none;padding:0}
body.mapstl-prototype .prototype-builder .config-tabs{position:static;flex:1;border:0;border-radius:0;padding:0;margin:0;background:transparent;min-width:0}
body.mapstl-prototype .prototype-builder .config-tabs .step{position:relative;display:flex;flex-direction:row;justify-content:center;width:auto;min-width:0;font-weight:600;box-shadow:none;letter-spacing:normal}
body.mapstl-prototype .prototype-builder .config-tabs .step span:last-of-type{background:none;color:inherit;padding:0;border:0}
body.mapstl-prototype .prototype-builder .config-tabs .step[aria-selected=true]{background:#edf7e6;border-color:#c9dfbc;color:#397d40}
body.mapstl-prototype .prototype-builder .config-tabs .step[aria-selected=true] .step-number{background:#4a9a4c;color:#fff}
body.mapstl-prototype .prototype-builder .config-tabs #tab-download:not(:disabled){border-color:#078b3e;background:linear-gradient(135deg,#169f35,#078b3e);color:#fff;font-weight:700}
body.mapstl-prototype .prototype-builder .config-tabs #tab-download:not(:disabled) .step-number{background:#fff;color:#087d34;box-shadow:none}
body.mapstl-prototype .prototype-builder .config-tabs #tab-download:not(:disabled):hover{border-color:#087d34;background:#087d34}
body.mapstl-prototype .prototype-builder .config-tabs #tab-download:not(:disabled)[aria-selected=true]{box-shadow:inset 0 0 0 2px #ffffffb3}
body.mapstl-prototype .prototype-builder .panel-section{padding:0;margin:0;max-height:none;min-height:0;border:0;min-width:0}
body.mapstl-prototype .prototype-builder [hidden],body.mapstl-prototype .prototype-builder .hidden{display:none!important}
body.mapstl-prototype .prototype-builder .place-panel{display:grid;grid-template-columns:minmax(420px,34%) minmax(0,1fr);grid-template-areas:'place map'}
body.mapstl-prototype .prototype-builder .place-controls{min-width:0;border-right:1px solid #e3e8ee}
body.mapstl-prototype .prototype-builder #place-guide{display:none}
body.mapstl-prototype .prototype-builder #place-guide.is-chosen{display:grid;grid-template-columns:1fr auto;gap:8px;margin:12px 0;padding:12px;background:#f2f8ee;border:1px solid #dce6d5;border-radius:6px;font-size:12px}
body.mapstl-prototype .prototype-builder #place-guide .guide-mark{display:none}
body.mapstl-prototype .prototype-builder #place-guide p{font-size:12px;line-height:1.5}
body.mapstl-prototype .prototype-builder #place-guide .selected-place-info{grid-column:1/-1;border:0;margin:0;padding:0;background:none}
body.mapstl-prototype .prototype-builder .selected-place-coordinates{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
body.mapstl-prototype .prototype-builder .guide-action{background:white;border:1px solid #dce5ed;border-radius:4px;font-size:12px;padding:6px}
body.mapstl-prototype .prototype-builder .search-form{display:block;margin:0;padding:0;border:0;box-shadow:none;background:transparent}
body.mapstl-prototype .prototype-builder .search-field input{min-width:0;width:100%;border:0;padding:0;background:transparent;font-size:14px;box-shadow:none}
body.mapstl-prototype .prototype-builder .search-field button{flex-shrink:0;width:30px;height:30px;min-width:0;min-height:0;border:0;border-radius:4px;background:#eff7eb;color:#4e8954;padding:6px}
body.mapstl-prototype .prototype-builder .search-results{position:relative;z-index:5}
body.mapstl-prototype .prototype-builder .search-results:empty{display:none}
body.mapstl-prototype .prototype-builder .search-result{width:100%;font-size:13px}
body.mapstl-prototype .prototype-builder .area-size-control{display:block;margin-top:13px;padding:15px;border:1px solid #dce6eb;border-radius:8px;background:#fafcfd}
body.mapstl-prototype .prototype-builder .area-size-control>label{display:block;margin-top:14px;font-size:14px;font-weight:400;color:#193246}
body.mapstl-prototype .prototype-builder .area-size-row{display:flex;align-items:start;gap:12px;margin-top:6px}
body.mapstl-prototype .prototype-builder .area-size-slider{min-width:0;flex:1}
body.mapstl-prototype .prototype-builder .area-size-slider input{width:100%;margin:8px 0}
body.mapstl-prototype .prototype-builder #area-size{width:94px;font-size:14px;padding:7px;background:#fff;min-height:34px;color:#3c7550}
body.mapstl-prototype .prototype-builder .area-size-endpoints{display:flex;justify-content:space-between;font-size:12px;color:#73808b}
body.mapstl-prototype .prototype-builder .field-help{font-size:12px;line-height:1.55;color:#687c89;margin:8px 0 0}
body.mapstl-prototype .prototype-builder .search-advanced,body.mapstl-prototype .prototype-builder .gpx-settings{margin:10px 0 0;border:0;border-top:1px solid #e1e7ec;background:transparent;border-radius:0}
body.mapstl-prototype .prototype-builder .search-advanced summary,body.mapstl-prototype .prototype-builder .gpx-settings>summary{padding:11px 0;font-size:13px;font-weight:500;color:#536b7c}
body.mapstl-prototype .prototype-builder .gpx-content,body.mapstl-prototype .prototype-builder .search-advanced-content{padding:0 0 10px}
body.mapstl-prototype .prototype-builder .gpx-upload{position:relative;display:flex;margin-top:0;gap:10px;border:1px dashed #b8d4b5;border-radius:5px;padding:12px;color:#437447;background:#f9fcf7;font-size:14px;cursor:pointer;overflow:hidden}
body.mapstl-prototype .prototype-builder .gpx-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
body.mapstl-prototype .prototype-builder .selection-slot{position:relative;min-width:0;margin:12px;padding:0;max-height:none;height:auto;background:none;border-radius:6px}
body.mapstl-prototype .prototype-builder .selection-card{position:relative;margin:0;border:0;border-radius:6px;overflow:visible;background:transparent}
body.mapstl-prototype .prototype-builder .selection-card>summary{display:flex;align-items:center;gap:8px;padding:7px 10px;font-size:11px;min-height:32px;background:#f4f8fa;border-radius:6px 6px 0 0}
body.mapstl-prototype .prototype-builder .selection-card>summary span{display:none}
body.mapstl-prototype .prototype-builder .selection-card>summary strong{font-size:12px;font-weight:500}
body.mapstl-prototype .prototype-builder .selection-card>summary::after{right:10px;top:7px}
body.mapstl-prototype .prototype-builder .selection-content{display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0;position:relative}
body.mapstl-prototype .prototype-builder .selection-content #map{order:0;flex:1 0 100%;width:100%;height:518px;border:0;border-radius:0 0 6px 6px;margin:0;z-index:0}
body.mapstl-prototype .prototype-builder .selection-card.is-expanded #map{height:720px}
body.mapstl-prototype .prototype-builder .map-basemap-switch{position:absolute;top:12px;left:12px;z-index:401;background:white;box-shadow:0 2px 7px #18364e20;border-radius:4px;display:flex;padding:3px;gap:2px;margin:0}
body.mapstl-prototype .prototype-builder .map-basemap-switch button{padding:8px 11px;min-height:32px;border:0;border-radius:2px;font-size:12px;background:#fff;color:#5c7381}
body.mapstl-prototype .prototype-builder .map-basemap-switch button[aria-pressed=true]{background:#edf7e4;color:#3e7d43}
body.mapstl-prototype .prototype-builder .selection-actions{order:1;display:flex;flex-wrap:wrap;gap:8px;padding:0 8px;margin:0}
body.mapstl-prototype .prototype-builder .selection-actions button{font-size:12px;min-height:30px;padding:5px 9px;background:#fff;border-color:#dce5ed;color:#56717f}
body.mapstl-prototype .prototype-builder .selection-content>p{order:2;flex-basis:100%;font-size:12px;margin:0;padding:0 8px}
body.mapstl-prototype .prototype-builder .map-help{order:3;flex-basis:100%;margin:0 8px 12px;padding:0;border:0;background:none;font-size:12px}
body.mapstl-prototype .prototype-builder .map-help summary{padding:6px 0;font-size:12px}
body.mapstl-prototype .prototype-builder .leaflet-top.leaflet-left{left:auto;right:0}
body.mapstl-prototype .prototype-builder .leaflet-control-zoom{margin-right:12px;margin-top:12px;border:0;box-shadow:0 2px 6px #213c4e20}
body.mapstl-prototype .prototype-builder .leaflet-control-zoom a{width:34px;height:34px;line-height:34px;border-color:#ecf0f2;color:#536c7a}
body.mapstl-prototype .prototype-builder .leaflet-container{font-family:'DM Sans',sans-serif}
body.mapstl-prototype .prototype-builder .button-green,body.mapstl-prototype .prototype-builder #generate,body.mapstl-prototype .prototype-builder #regenerate{background:linear-gradient(110deg,#55a645,#368746);color:white;border:1px solid #4d9345;border-radius:5px;min-height:44px;font-weight:600;box-shadow:none}
body.mapstl-prototype .prototype-builder :is(input[type=range],input[type=checkbox],input[type=radio]){accent-color:#4c9b4b}
body.mapstl-prototype .prototype-builder input[type=range]::-webkit-slider-thumb{background:#4c9b4b}
body.mapstl-prototype .prototype-builder .preview-panel{display:grid;grid-template-columns:minmax(340px,.8fr) minmax(0,1.2fr);gap:30px;padding:28px}
body.mapstl-prototype .prototype-builder .actual-model-panel{display:flex;flex-direction:column;position:relative;top:auto;min-width:0;width:100%;border:0;border-radius:0;background:radial-gradient(ellipse,#f2f7ed,transparent 70%);align-self:start;overflow:visible}
body.mapstl-prototype .prototype-builder .model-topbar{display:flex;flex-wrap:wrap;gap:10px;padding:8px 0 14px;align-items:center;background:transparent}
body.mapstl-prototype .prototype-builder .model-topbar>div:first-child{flex:1 1 180px}
body.mapstl-prototype .prototype-builder .model-topbar h2{font-size:18px;color:#193246;margin:0}
body.mapstl-prototype .prototype-builder .model-topbar .eyebrow{font-size:10px;color:#769078}
body.mapstl-prototype .prototype-builder .model-topbar .button,body.mapstl-prototype .prototype-builder .model-tools .icon-button{font-size:12px;min-height:32px;background:#fff;color:#456371;border:1px solid #dce5ed;border-radius:4px;padding:6px 9px}
body.mapstl-prototype .prototype-builder .model-actions-menu summary{font-size:12px}
body.mapstl-prototype .prototype-builder .model-tools{margin-left:auto}
body.mapstl-prototype .prototype-builder .viewer{width:100%;height:500px;min-height:400px;border:0;background:transparent}
body.mapstl-prototype .prototype-builder .viewer-loading{background:#f5f8f5ef;font-size:14px;color:#4c6575;min-height:400px}
body.mapstl-prototype .prototype-builder .model-meta{background:#fff;border-color:#e0e7ed;padding:12px;font-size:12px}
body.mapstl-prototype .prototype-builder .data-credit{font-size:11px;color:#71818c;padding:12px}
body.mapstl-prototype .prototype-builder .create-action{padding:16px 0 0;margin:0;background:transparent;border:0;display:block}
body.mapstl-prototype .prototype-builder .create-action>p{display:block;margin:8px 0 14px;font-size:12px;text-align:center;color:#73838d}
body.mapstl-prototype .prototype-builder .saved-model-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;border:0;padding:0;margin-top:14px}
body.mapstl-prototype .prototype-builder .saved-model-actions .button{font-size:12px;min-height:38px;padding:8px;background:#fff;color:#496471;border:1px solid #dce5ed;border-radius:4px;white-space:normal}
body.mapstl-prototype .prototype-builder .saved-model-actions p{font-size:10px;margin:6px 0;color:#7a8890}
body.mapstl-prototype .prototype-builder .ready-model-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 0}
body.mapstl-prototype .prototype-builder .ready-model-actions[hidden]{display:none}
body.mapstl-prototype .prototype-builder .ready-model-actions>div{min-width:0}
body.mapstl-prototype .prototype-builder :is(#preview-model-actions,#download-model-actions) .button{display:flex;gap:9px;min-height:46px;width:100%;padding:11px 14px;border-radius:7px;font-size:14px;font-weight:700;line-height:1.4;white-space:normal;box-shadow:0 2px 3px #19384d0c;transition:background .15s,border-color .15s}
body.mapstl-prototype .prototype-builder .ready-model-actions .button .icon{flex:0 0 19px;width:19px;height:19px}
body.mapstl-prototype .prototype-builder :is(#preview-model-actions,#download-model-actions) .button.ready-share{background:#286b91;border:1px solid #286b91;color:#fff}
body.mapstl-prototype .prototype-builder :is(#preview-model-actions,#download-model-actions) .button.ready-share:not(:disabled):hover{background:#205775;border-color:#205775}
body.mapstl-prototype .prototype-builder :is(#preview-model-actions,#download-model-actions) .button.ready-favorite{background:#76509b;border:1px solid #76509b;color:#fff}
body.mapstl-prototype .prototype-builder :is(#preview-model-actions,#download-model-actions) .button.ready-favorite:not(:disabled):hover{background:#624182;border-color:#624182}
body.mapstl-prototype .prototype-builder :is(#preview-model-actions,#download-model-actions) .button:focus-visible{outline:3px solid #244c65;outline-offset:3px}
body.mapstl-prototype .prototype-builder .ready-model-actions .ready-favorite.is-saved .icon{fill:currentColor}
body.mapstl-prototype .prototype-builder .ready-model-actions p{margin:6px 0 0;font-size:12px;line-height:1.45;color:#607687}
body.mapstl-prototype .prototype-builder #download-model-actions{max-width:none;margin:0;padding:18px;border:1px solid #d5e1e7;border-radius:9px;background:#f5f8fa}
@media(max-width:480px){body.mapstl-prototype .prototype-builder .ready-model-actions{grid-template-columns:minmax(0,1fr)}}
body.mapstl-prototype .prototype-builder #panel-print{padding:12px 0 0;display:block}
body.mapstl-prototype .prototype-builder #panel-print>.section-heading,body.mapstl-prototype .prototype-builder #panel-print>.tab-help{display:none}
body.mapstl-prototype .prototype-builder #panel-print :is(.builder-setting-card,.print-advanced){padding:12px;margin:0 0 12px;background:white;border:1px solid #dce5ed;border-radius:5px}
body.mapstl-prototype .prototype-builder #panel-print .print-fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body.mapstl-prototype .prototype-builder #panel-print .builder-field{min-width:0}
body.mapstl-prototype .prototype-builder #panel-print :is(select,label,legend){font-size:12px}
body.mapstl-prototype .prototype-builder #panel-print select{width:100%;min-width:0}
body.mapstl-prototype .prototype-builder .download-panel{display:block;padding:28px}
body.mapstl-prototype .prototype-builder .download-empty{max-width:680px;margin:25px auto;text-align:center;padding:40px}
body.mapstl-prototype #download-content .export-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr);gap:24px;max-width:none}
body.mapstl-prototype #download-content .export-main{min-width:0}
body.mapstl-prototype #download-content .export-sidebar{grid-column:2;grid-row:1/3;display:flex;flex-direction:column;gap:18px}
body.mapstl-prototype #download-content .export-sidebar .external-print-export{order:-1}
body.mapstl-prototype #download-content .export-extra{grid-column:1;min-width:0}
body.mapstl-prototype #download-content .export-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body.mapstl-prototype #download-content .export-option{display:flex;align-items:center;gap:12px;min-width:0;padding:18px;border:1px solid #dce5ed;border-radius:7px;background:#fff;color:#24455b;text-align:left}
body.mapstl-prototype #download-content .export-download-3mf{background:linear-gradient(110deg,#e8f6df,#f2f9e8);border-color:#bfd9ac}
body.mapstl-prototype #download-content .export-download-stl{background:linear-gradient(110deg,#e4f1ff,#eff7ff);border-color:#b9d6ef}
body.mapstl-prototype #download-content .file-type{display:grid;place-items:center;width:49px;height:49px;border-radius:9px;background:#fff9;font-size:16px;font-weight:800;flex-shrink:0}
body.mapstl-prototype #download-content .export-option-copy strong{font-family:Manrope,sans-serif;font-size:17px}
body.mapstl-prototype #download-content .export-option small{font-size:12px;color:#697d89;line-height:1.5}
body.mapstl-prototype #download-content .export-option-copy{display:grid;gap:6px;min-width:0}
body.mapstl-prototype #download-content .export-download-icon{width:22px;flex-shrink:0;margin-left:auto}
body.mapstl-prototype #download-content .export-secondary-options{margin-top:14px}
body.mapstl-prototype #download-content .export-secondary-options .export-option{padding:14px}
body.mapstl-prototype #download-content .export-secondary-options strong{font-size:13px}
body.mapstl-prototype #download-content .export-facts{margin-bottom:12px}
body.mapstl-prototype #download-content .mosaic-selection{display:grid;gap:8px;font-size:13px;margin:15px 0}
body.mapstl-prototype #download-content :is(.export-documents,.export-details){background:#fafcfd;border-color:#dce6eb;border-radius:6px}
body.mapstl-prototype #download-content .export-document-options{display:flex;flex-wrap:wrap;gap:8px}
body.mapstl-prototype #download-content .export-document{flex:1 1 180px;background:#fff;border-color:#dce5ed;border-radius:4px;padding:10px}
body.mapstl-prototype #download-content .export-document strong{font-size:12px}
body.mapstl-prototype #download-content .export-document small{font-size:10px}
@media(max-width:1100px){body.mapstl-prototype .prototype-builder .place-panel{grid-template-columns:380px minmax(0,1fr)}body.mapstl-prototype .prototype-builder .selection-content #map{height:448px}body.mapstl-prototype .prototype-builder .preview-panel{grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:20px}}
@media(max-width:900px){body.mapstl-prototype #download-content .export-layout{grid-template-columns:1fr}body.mapstl-prototype #download-content .export-sidebar{grid-column:1;grid-row:auto}body.mapstl-prototype .prototype-builder .preview-panel{grid-template-columns:1fr}}
@media(max-width:760px){body.mapstl-prototype .prototype-builder .place-panel{grid-template-columns:minmax(0,1fr);grid-template-areas:'place' 'map'}body.mapstl-prototype .prototype-builder .place-controls{border-right:0;padding:19px}body.mapstl-prototype .prototype-builder .selection-content #map{height:330px}body.mapstl-prototype .prototype-builder .selection-slot{height:auto}body.mapstl-prototype .prototype-builder .preview-panel,body.mapstl-prototype .prototype-builder .download-panel{padding:20px;gap:20px}body.mapstl-prototype .prototype-builder .builder-tab-navigation{padding:12px 15px;flex-wrap:wrap}body.mapstl-prototype .prototype-builder .step-progress{gap:12px;font-size:12px}body.mapstl-prototype .prototype-builder .step-progress>span:last-child{display:none}body.mapstl-prototype .prototype-builder #builder-next{margin-left:auto;font-size:13px;min-height:42px}body.mapstl-prototype .prototype-builder .viewer{height:370px;min-height:320px}body.mapstl-prototype #download-content .export-options{grid-template-columns:1fr}body.mapstl-prototype .prototype-builder .config-tabs .step{min-width:88px}body.mapstl-prototype .prototype-builder .config-tabs{overflow-x:auto}body.mapstl-prototype .prototype-builder .builder-nav{min-width:0}body.mapstl-prototype .prototype-builder .workspace{min-width:0}body.mapstl-prototype .prototype-builder .config-panel{min-width:0}}
/* Override the legacy ID-specific range rules without changing its fine/wide scale. */
body.mapstl-prototype #area-size-control #area-size{flex:0 0 94px;width:94px;min-height:32px;padding:5px 7px;font-size:14px;border:1px solid #dce5ed;border-radius:4px}
body.mapstl-prototype #area-size-range{height:22px;min-height:22px;margin:4px 0 0}
body.mapstl-prototype #area-size-range::-webkit-slider-runnable-track{height:4px;background:linear-gradient(to right,#4e9a4b var(--range-progress),#e2e9ed var(--range-progress))}
body.mapstl-prototype #area-size-range::-webkit-slider-thumb{width:14px;height:14px;margin-top:-5px;border:2px solid white;background:#4e9a4b;box-shadow:0 0 0 1px #82b480}
body.mapstl-prototype #area-size-range::-moz-range-track{height:4px;background:#e2e9ed}
body.mapstl-prototype #area-size-range::-moz-range-thumb{width:10px;height:10px;border:2px solid white;background:#4e9a4b}
body.mapstl-prototype #generator-page.has-selected-place>.prototype-shell.hero{display:block}
body.mapstl-prototype .prototype-builder :is(.button.secondary,.button.quiet,#builder-previous){background:#fff;border:1px solid #dce5ed;color:#4d6676;border-radius:5px;box-shadow:none}
body.mapstl-prototype .prototype-builder #model-print-request{background:#fff1e4;border:1px solid #efc39b;color:#945023}
body.mapstl-prototype .prototype-builder .memory-notice{font-size:13px}
body.mapstl-prototype .prototype-builder .workspace.builder{border:1px solid #dce5ed;border-radius:12px;box-shadow:0 5px 20px #18364e12}
body.mapstl-prototype .prototype-builder .builder-nav{border-radius:12px 12px 0 0}
body.mapstl-prototype .prototype-builder .builder-footer{border-radius:0 0 12px 12px}
body.mapstl-prototype .prototype-builder #place-resume .welcome-resume{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:10px 0;padding:10px;border:1px solid #dce5ed;border-radius:6px;background:#fafcfd}
body.mapstl-prototype .prototype-builder #place-resume .welcome-resume .button{font-size:12px;padding:7px 10px;min-height:32px}
body.mapstl-prototype .prototype-builder #place-resume .welcome-resume small{font-size:11px}
body.mapstl-prototype .prototype-builder .selection-card[open]>summary{position:absolute;top:12px;right:56px;z-index:401;background:#fffffff0;border-radius:4px;padding:8px 28px 8px 10px;max-width:45%;box-shadow:0 2px 7px #18364e15}
body.mapstl-prototype .prototype-builder .selection-card[open]>summary strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.mapstl-prototype .prototype-builder .selection-content #map{height:550px;border-radius:6px}
@media(max-width:1100px){body.mapstl-prototype .prototype-builder .selection-content #map{height:480px}}
@media(max-width:760px){body.mapstl-prototype .prototype-builder .selection-content #map{height:330px}body.mapstl-prototype .prototype-builder .selection-card[open]>summary{top:auto;bottom:110px;max-width:70%;right:12px}}
body.mapstl-prototype .prototype-builder .viewer:fullscreen{background:#f1f5f7}
body.mapstl-prototype .prototype-builder .viewer:-webkit-full-screen{background:#f1f5f7}
body.mapstl-prototype #place-guide .guide-action,body.mapstl-prototype #place-guide .builder-text-button{background:#fff;border:1px solid #dce5ed;border-radius:4px;color:#4b6979;min-height:30px;padding:6px 9px;font-size:12px;box-shadow:none}
body.mapstl-prototype .prototype-builder #selected-place-details{margin-top:12px}
body.mapstl-prototype .prototype-builder #selected-place-details>summary{font-size:12px;padding:8px}
body.mapstl-prototype .prototype-builder #selected-place-details #place-guide{border:0;background:transparent;margin:0;padding:12px 8px}

/* Printer settings stay in Dimensions; generation progress stays in Preview. */
body.mapstl-prototype .prototype-builder .step:disabled{opacity:.4;cursor:not-allowed;filter:grayscale(.6);box-shadow:none}
body.mapstl-prototype .prototype-builder .dimension-final-options{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:20px}
body.mapstl-prototype .prototype-builder .dimension-final-options #print-settings{margin:0}
body.mapstl-prototype .prototype-builder .dimension-final-options #panel-print{padding:20px 0 0;border:0;background:none}
body.mapstl-prototype .prototype-builder .draft-save-actions{font-size:12px;text-align:center}
body.mapstl-prototype .prototype-builder .draft-save-actions p{margin:7px 0 0;color:var(--muted)}
@media(max-width:700px){body.mapstl-prototype .prototype-builder .dimension-final-options{grid-template-columns:1fr}body.mapstl-prototype .prototype-builder .draft-save-actions{text-align:left}}

/* The supplied step footer, followed by the data-source footnote. */
body.mapstl-prototype .prototype-builder .builder-tab-navigation.builder-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0;padding:12px 23px;min-height:65px;border-top:1px solid #dfe8ef;background:#fff;border-radius:0 0 12px 12px}
body.mapstl-prototype .prototype-builder .builder-footer .builder-progress{display:flex;align-items:center;gap:6px;min-width:0;color:#52697b;font-size:14px}
body.mapstl-prototype .prototype-builder #builder-position{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:400;color:#52697b;white-space:nowrap}
body.mapstl-prototype .prototype-builder #builder-step-number{font-weight:700;color:#1d7540;font-variant-numeric:tabular-nums}
body.mapstl-prototype .prototype-builder .builder-footer .step-track{display:block;flex:0 0 64px;width:64px;height:4px;margin-left:8px;border-radius:4px;overflow:hidden;background:#e5ecef}
body.mapstl-prototype .prototype-builder #builder-progress-bar{display:block;width:16.667%;height:100%;background:#1a9e3f;transition:width .3s}
body.mapstl-prototype .prototype-builder .builder-footer .progress-reassurance{display:flex;align-items:center;gap:5px;margin-left:18px;font-size:13px;line-height:1.4;color:#416e50;white-space:nowrap}
body.mapstl-prototype .prototype-builder .builder-footer .progress-reassurance .icon{width:13px;height:13px;color:#32974b}
body.mapstl-prototype .prototype-builder .builder-footer-actions{display:flex;align-items:center;gap:18px}
body.mapstl-prototype .prototype-builder .builder-footer .back-button{display:flex;align-items:center;gap:8px;border:0;background:transparent;padding:8px;font-size:14px;font-weight:400;color:#647d8f}
body.mapstl-prototype .prototype-builder .builder-footer .back-button .icon{width:15px;height:15px;transform:rotate(180deg)}
body.mapstl-prototype .prototype-builder .builder-footer .button{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:42px;padding:9px 16px;border:1px solid transparent;border-radius:4px;background:linear-gradient(135deg,#169f35,#078b3e);color:#fff;font-size:16px;font-weight:650;line-height:1.4;box-shadow:none}
body.mapstl-prototype .prototype-builder .builder-footer .button:hover{background:#087d34}
body.mapstl-prototype .prototype-builder .builder-footer .button .icon{width:16px;height:16px}
body.mapstl-prototype .prototype-builder .builder-attribution.builder-footnote{display:block;margin:18px 0 0;padding:20px 24px;border:1px solid #dce5ed;border-radius:12px;background:#fff;box-shadow:0 3px 12px #19324604;color:#496174;font-size:14px;line-height:1.65}
@media(max-width:950px){body.mapstl-prototype .prototype-builder .builder-footer .progress-reassurance{display:none}}
@media(max-width:760px){
 body.mapstl-prototype .prototype-builder .builder-tab-navigation.builder-footer{flex-wrap:wrap;gap:6px;padding:11px 15px}
 body.mapstl-prototype .prototype-builder .builder-footer .builder-progress{flex-basis:100%;font-size:14px}
 body.mapstl-prototype .prototype-builder .builder-footer-actions{width:100%;justify-content:space-between;gap:8px}
 body.mapstl-prototype .prototype-builder .builder-footer .button{min-height:42px;padding:9px 11px;margin-left:auto;font-size:15px;gap:9px}
 body.mapstl-prototype .prototype-builder .builder-footer .back-button{font-size:14px}
 body.mapstl-prototype .prototype-builder .builder-attribution.builder-footnote{padding:18px 16px}
}
@media(max-width:700px){body.mapstl-prototype .prototype-builder .builder-footer .step-track{display:none}}

/* Generate occupies the same two slots as the result tabs until a result exists. */
body.mapstl-prototype .prototype-builder .builder-step-controls{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;align-items:center;flex:1;min-width:0}
body.mapstl-prototype .prototype-builder .builder-step-controls .config-tabs{display:contents}
body.mapstl-prototype .prototype-builder #builder-generate{grid-column:5/span 2;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0;min-height:42px;padding:10px 12px;border:1px solid transparent;border-radius:5px;background:linear-gradient(135deg,#169f35,#078b3e);color:#fff;font-size:15px;font-weight:650;line-height:1.4;white-space:normal;box-shadow:none}
body.mapstl-prototype .prototype-builder #builder-generate:hover{background:#087d34}
body.mapstl-prototype .prototype-builder #builder-generate .icon{width:19px;height:19px;flex-shrink:0}
body.mapstl-prototype .prototype-builder #restore-model-settings{grid-column:1/-1;justify-self:end;display:block;max-width:100%;min-height:32px;margin:0;padding:4px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#52697b;font-size:13px;font-weight:500;line-height:1.5;text-align:right;text-decoration:underline;text-underline-offset:3px}
body.mapstl-prototype .prototype-builder #restore-model-settings:hover{color:#137439}
@media(max-width:1100px){body.mapstl-prototype .prototype-builder .builder-step-controls{gap:6px}}
@media(max-width:760px){
 body.mapstl-prototype .prototype-builder .builder-step-controls{grid-template-columns:repeat(6,minmax(88px,1fr));width:100%;max-width:100%;overflow-x:auto;padding-bottom:5px;scrollbar-width:thin;scrollbar-color:#91b8a2 #edf3ef}
 body.mapstl-prototype .prototype-builder .builder-step-controls:has(#tab-preview[hidden]){grid-template-columns:repeat(4,minmax(0,1fr));overflow-x:visible}
 body.mapstl-prototype .prototype-builder .builder-step-controls:has(#tab-preview[hidden]) .step{min-width:0;min-height:61px;flex-direction:column;gap:5px;padding:7px 5px;font-size:14px}
 body.mapstl-prototype .prototype-builder .builder-step-controls:has(#tab-preview[hidden]) .step>.icon{display:none}
 body.mapstl-prototype .prototype-builder #builder-generate{grid-column:1/-1;min-height:42px;margin-top:4px;font-size:15px}
 body.mapstl-prototype .prototype-builder #restore-model-settings{justify-self:stretch;text-align:center}
}
@media(max-width:360px){body.mapstl-prototype .prototype-builder .builder-step-controls:has(#tab-preview[hidden]) .step{padding-inline:2px;font-size:13px}}

body.mapstl-prototype .prototype-builder .source-credit-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;margin-bottom:16px}
body.mapstl-prototype .prototype-builder .source-credit-title{margin:0;font-size:18px;font-weight:700;line-height:1.4;color:#243f50}
body.mapstl-prototype .prototype-builder .source-credit-grid{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.8fr);gap:16px}
body.mapstl-prototype .prototype-builder .source-credit-item{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#f7fafb;border:1px solid #e6edf0;border-radius:9px;min-width:0}
body.mapstl-prototype .prototype-builder .source-credit-copy{min-width:0;overflow-wrap:anywhere}
body.mapstl-prototype .prototype-builder .source-credit-copy h3{margin:0 0 6px;font-size:14px;font-weight:700;line-height:1.5;color:#294b5b}
body.mapstl-prototype .prototype-builder .source-credit-copy p{margin:0;font-size:13px;line-height:1.75;color:#587080;white-space:pre-line}
body.mapstl-prototype .prototype-builder .source-credit-link{min-width:0;max-width:100%;font-size:13px;line-height:1.75;color:#496174;text-decoration:underline;text-decoration-color:#bdcbd2;text-underline-offset:3px;overflow-wrap:anywhere}
body.mapstl-prototype .prototype-builder .source-credit-more{display:inline-flex;align-items:center;min-height:36px;padding:6px 12px;border:1px solid #d9e8dc;border-radius:6px;background:#f0f8f1;color:#216c43;font-size:13px;font-weight:650;line-height:1.5;text-decoration:none}
body.mapstl-prototype .prototype-builder .source-credit-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:9px}
body.mapstl-prototype .prototype-builder .source-credit-icon .icon{width:21px;height:21px;margin:0;stroke-width:1.8}
body.mapstl-prototype .prototype-builder .source-credit-link:hover{color:#087b34}
body.mapstl-prototype .prototype-builder .source-credit-more:hover{background:#e4f2e6;border-color:#b8d4be}
@media(max-width:760px){body.mapstl-prototype .prototype-builder .source-credit-grid{grid-template-columns:minmax(0,1fr);gap:10px}body.mapstl-prototype .prototype-builder .source-credit-item{padding:14px}}

/* Download uses the same quiet, bordered panels as the preceding steps. */
body.mapstl-prototype #download-content .export-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:'files' 'actions' 'details' 'support';gap:22px;align-items:start}
body.mapstl-prototype #download-content .export-layout.has-print-offer{grid-template-columns:minmax(280px,.9fr) minmax(0,1.2fr);grid-template-areas:'print files' 'actions actions' 'details details' 'support support'}
body.mapstl-prototype #download-content .export-main{grid-area:files;padding:20px;border:1px solid #d5e1e7;border-radius:9px;background:#f5f8fa}
body.mapstl-prototype #download-content .export-model-actions{grid-area:actions;min-width:0}
body.mapstl-prototype #download-content .export-extra{grid-area:details}
body.mapstl-prototype #download-content .download-section-title{display:flex;align-items:center;gap:10px;margin:0 0 16px;color:#294555}
body.mapstl-prototype #download-content .download-section-title>.icon{width:23px;height:23px;color:#268044}
body.mapstl-prototype #download-content .download-section-title h4{margin:0;font-size:19px;line-height:1.35}
body.mapstl-prototype #download-content .export-facts{display:flex;align-items:center;gap:12px 22px;margin:0;padding:14px 16px;border:1px solid #d6e3dc;border-radius:6px;background:#fff}
body.mapstl-prototype #download-content .export-facts :is(.export-place,.export-dimensions){display:grid;gap:4px;min-width:0}
body.mapstl-prototype #download-content .export-place{flex:1 1 160px}
body.mapstl-prototype #download-content .export-facts :is(.export-place,.export-dimensions)>span{font-size:12px;color:#52697b}
body.mapstl-prototype #download-content .export-facts .export-place>span{color:#258444}
body.mapstl-prototype #download-content .export-facts strong{font-size:16px;color:#294555;overflow-wrap:anywhere}
body.mapstl-prototype #download-content .export-print-facts{gap:10px;margin:12px 0 16px;font-size:13px}
body.mapstl-prototype #download-content .export-settings-card{padding:14px;margin:14px 0;border:1px solid #d6e1e7;border-radius:6px;background:#edf2f5}
body.mapstl-prototype #download-content .export-settings-card .muted{margin:0;font-size:13px;line-height:1.55;color:#52697b}
body.mapstl-prototype #download-content .export-mode-picker{min-width:0;padding:14px;margin-top:20px}
body.mapstl-prototype #download-content .export-mode-picker legend{padding:0 6px;font-size:14px;font-weight:700;color:#3f5668}
body.mapstl-prototype #download-content .export-mode-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}
body.mapstl-prototype #download-content .export-mode-card{display:grid;grid-template-columns:minmax(0,1fr) 20px;grid-template-rows:auto 1fr;gap:12px;margin:0;padding:14px;border:2px solid #d4dfe5;border-radius:8px;background:#fff;color:#304f60;cursor:pointer;transition:background .15s,border-color .15s}
body.mapstl-prototype #download-content .export-mode-card:hover{border-color:#91b79b;background:#f8fcf8}
body.mapstl-prototype #download-content .export-mode-card:has(input:checked){background:#eff8ed;border-color:#36904d;box-shadow:0 0 0 1px #36904d14}
body.mapstl-prototype #download-content .export-mode-card:has(input:focus-visible){outline:3px solid #286b91;outline-offset:3px}
body.mapstl-prototype #download-content .export-mode-card:has(input:disabled){cursor:wait;opacity:.65}
body.mapstl-prototype #download-content .export-mode-card input[type=radio]{grid-column:2;grid-row:1;align-self:start;appearance:auto;accent-color:#268044;width:19px;height:19px;min-height:0;padding:0;margin:0;border:0;box-shadow:none}
body.mapstl-prototype #download-content .export-mode-visual{grid-column:1;grid-row:1;display:flex;align-items:center;gap:10px;color:#37794b;min-height:28px}
body.mapstl-prototype #download-content .export-mode-visual .icon{width:29px;height:29px;stroke-width:1.8}
body.mapstl-prototype #download-content .export-mode-fast .export-mode-visual{color:#a76c25}
body.mapstl-prototype #download-content .export-mode-swatches{display:flex;gap:3px}
body.mapstl-prototype #download-content .export-mode-swatches i{width:12px;height:16px;border-radius:3px;background:#4c9d67}
body.mapstl-prototype #download-content .export-mode-swatches i:nth-child(2){background:#419bcb}
body.mapstl-prototype #download-content .export-mode-swatches i:nth-child(3){background:#e7b36a}
body.mapstl-prototype #download-content .export-mode-copy{grid-column:1/-1;display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}
body.mapstl-prototype #download-content .export-mode-badge{padding:3px 7px;border-radius:4px;background:#e5f1df;color:#326f40;font-size:11px;font-weight:700;line-height:1.3}
body.mapstl-prototype #download-content .export-mode-fast .export-mode-badge{background:#f8eedb;color:#87602c}
body.mapstl-prototype #download-content .export-mode-copy strong{font-size:15px;line-height:1.35}
body.mapstl-prototype #download-content .export-mode-detail{font-size:12px;font-weight:400;line-height:1.55;color:#52697b}
body.mapstl-prototype #download-content .export-option{min-height:84px;box-shadow:none;transition:background .15s,border-color .15s}
body.mapstl-prototype #download-content .export-download-3mf{background:#226644;border-color:#226644;color:#fff}
body.mapstl-prototype #download-content .export-download-3mf:hover{background:#185535;border-color:#185535}
body.mapstl-prototype #download-content .export-download-3mf small{color:#e2efe6}
body.mapstl-prototype #download-content .export-download-3mf .file-type{background:#ffffff24;color:#fff}
body.mapstl-prototype #download-content .export-download-stl{background:#eaf3fa;border-color:#bfd5e5;color:#244c65}
body.mapstl-prototype #download-content .export-download-stl:hover{background:#dfedf7;border-color:#81b1cf}
body.mapstl-prototype #download-content .export-download-stl .file-type{background:#dbeaf5;color:#245b7c}
body.mapstl-prototype #download-content .export-option .file-type{font-size:14px}
body.mapstl-prototype #download-content .export-option:focus-visible{outline:3px solid #389652;outline-offset:3px}
body.mapstl-prototype #download-content .export-option-copy strong{font-size:16px}
body.mapstl-prototype #download-content .export-secondary-options .export-option{background:#fff;border-color:#d1dfe6;min-height:72px}
body.mapstl-prototype #download-content .export-secondary-options .export-option:hover{background:#eef4f7;border-color:#a9bfcc}
body.mapstl-prototype #download-content :is(.export-documents,.export-details){background:#f5f8fa;border:1px solid #d5e1e7;border-radius:9px}
body.mapstl-prototype #download-content .export-documents{padding:18px}
body.mapstl-prototype #download-content .export-documents-heading h3{font-size:19px;line-height:1.4;color:#294555;margin:0 0 6px}
body.mapstl-prototype #download-content :is(.export-documents-heading p,.export-document-note){font-size:13px;line-height:1.5;color:#52697b}
body.mapstl-prototype #download-content .export-document{padding:12px;border-radius:6px}
body.mapstl-prototype #download-content .export-document strong{font-size:13px}
body.mapstl-prototype #download-content .export-document small{font-size:12px;line-height:1.5}
body.mapstl-prototype #download-content .export-print-callout{grid-area:print;align-self:stretch;display:flex;flex-direction:column;align-items:stretch;gap:18px;min-width:0;margin:0;padding:24px;border:1px solid #e8bf9b;border-top:4px solid #e9904c;border-radius:9px;background:#fff6ec;box-shadow:none;text-align:left}
body.mapstl-prototype #download-content .export-print-callout .download-section-title{gap:12px;margin:0;color:#643e27}
body.mapstl-prototype #download-content .export-print-callout .download-section-title>.icon{flex:0 0 40px;width:40px;height:40px;padding:8px;border-radius:8px;background:#ffe3c5;color:#a35928}
body.mapstl-prototype #download-content .export-print-callout h4{font-size:23px}
body.mapstl-prototype #download-content .export-print-lead{margin:0;color:#73553d;font-size:15px;line-height:1.6}
body.mapstl-prototype #download-content .export-print-benefits{display:grid;gap:16px;list-style:none;padding:18px 0;margin:0;border-top:1px solid #ecd6c2;border-bottom:1px solid #ecd6c2}
body.mapstl-prototype #download-content .export-print-benefits li{display:flex;align-items:flex-start;gap:10px;margin:0}
body.mapstl-prototype #download-content .export-print-benefits .icon{flex:0 0 21px;width:21px;height:21px;margin-top:2px;color:#af6630}
body.mapstl-prototype #download-content .export-print-benefits strong{display:block;color:#643e27;font-size:15px;line-height:1.4}
body.mapstl-prototype #download-content .export-print-benefits span{display:block;margin-top:4px;color:#73553d;font-size:14px;line-height:1.5}
body.mapstl-prototype #download-content .export-print-action{margin-top:auto}
body.mapstl-prototype #download-content .export-print-action .button{display:flex;gap:10px;width:100%;min-height:50px;padding:12px 16px;border:1px solid #e68d48;border-radius:6px;background:#ff9c57;color:#472b18;box-shadow:none;font-size:16px;font-weight:750;line-height:1.4;white-space:normal;text-align:center}
body.mapstl-prototype #download-content .export-print-action .button:hover{background:#f78b40;border-color:#d87933}
body.mapstl-prototype #download-content .export-print-action .button .icon{flex:0 0 21px;width:21px;height:21px}
body.mapstl-prototype #download-content .export-print-action .button span{flex:1}
body.mapstl-prototype #download-content .export-print-action small{display:block;margin-top:10px;color:#73553d;font-size:12px;line-height:1.5;text-align:center}
body.mapstl-prototype #download-content .export-print-provider{margin:0;color:#73553d;font-size:12px;line-height:1.5;text-align:center}
body.mapstl-prototype #download-content .export-contribution{grid-area:support;min-width:0}
body.mapstl-prototype #download-content .export-contribution .export-support{gap:12px;margin:0;padding:18px 20px;border:1px solid #d5e1e7;border-radius:9px;background:#f5f8fa;box-shadow:none}
body.mapstl-prototype #download-content .export-contribution .export-support>div{flex:1;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;align-items:center}
body.mapstl-prototype #download-content .export-contribution h3{margin:0 0 4px;font-size:17px}
body.mapstl-prototype #download-content .export-contribution p{grid-column:1;margin:0;font-size:13px}
body.mapstl-prototype #download-content .export-contribution small{grid-column:1;margin:5px 0 0;font-size:12px}
body.mapstl-prototype #download-content .export-contribution .button{grid-column:2;grid-row:1/4;width:auto;min-height:40px;padding:9px 14px;border:1px solid #c8d9cc;border-radius:6px;background:#fff;color:#3b6b42;box-shadow:none;font-size:13px}
body.mapstl-prototype #download-content .export-contribution .button:hover{border-color:#91b89b;background:#edf5ed}
@media(max-width:900px){
 body.mapstl-prototype #download-content .export-layout.has-print-offer{grid-template-columns:minmax(0,1fr);grid-template-areas:'print' 'files' 'actions' 'details' 'support'}
}
@media(max-width:480px){
 body.mapstl-prototype #download-content .export-mode-options{grid-template-columns:minmax(0,1fr)}
 body.mapstl-prototype .prototype-builder #download-model-actions{padding:14px}
}
@media(max-width:600px){
 body.mapstl-prototype #download-content .export-main{padding:14px}
 body.mapstl-prototype #download-content .export-print-callout{padding:18px;gap:15px}
 body.mapstl-prototype #download-content .export-print-callout h4{font-size:21px}
 body.mapstl-prototype #download-content .export-contribution .export-support>div{grid-template-columns:minmax(0,1fr);gap:5px}
 body.mapstl-prototype #download-content .export-contribution .button{grid-column:1;grid-row:auto;margin-top:8px;width:100%}
 body.mapstl-prototype #download-content .export-facts{padding:12px;gap:12px}
 body.mapstl-prototype #download-content .export-place{flex-basis:100%}
 body.mapstl-prototype #download-content .export-settings-card{padding:11px}
 body.mapstl-prototype #download-content .export-document{flex-basis:100%}
 body.mapstl-prototype #download-content .export-documents{padding:14px}
}

/* Picture: what was made, then two choices side by side – a colour print made
   to order, or single-colour STL tiles to print at home. */
body.mapstl-prototype #download-content .picture-export.export-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:'ready ready' 'print files' 'actions actions' 'details details' 'support support';gap:20px}
body.mapstl-prototype #download-content .picture-export .picture-ready{grid-area:ready;display:flex;align-items:center;gap:24px;min-width:0;padding:20px 24px;border:1px solid #cfe2d5;border-radius:9px;background:linear-gradient(100deg,#edf7ec,#f6fafc)}
body.mapstl-prototype #download-content .picture-export .picture-plan{flex:0 0 auto;display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));grid-template-rows:repeat(var(--rows),minmax(0,1fr));gap:2px;padding:4px;border-radius:5px;background:#294555;box-shadow:0 8px 18px #29455524}
body.mapstl-prototype #download-content .picture-export .picture-plan i{display:grid;place-items:center;min-width:0;min-height:0;overflow:hidden;border-radius:2px;background:#f3f8f2;color:#52697b;font:700 10px/1 Manrope,sans-serif;font-style:normal}
body.mapstl-prototype #download-content .picture-export .picture-plan i.alt{background:#dfeedd}
body.mapstl-prototype #download-content .picture-export .picture-plan-plain{place-items:center;background:#e2f0e1;border:4px solid #294555;color:#294555;font:800 15px/1 Manrope,sans-serif}
body.mapstl-prototype #download-content .picture-export .picture-ready-copy{display:grid;gap:6px;min-width:0}
body.mapstl-prototype #download-content .picture-export .picture-ready-kicker{display:flex;align-items:center;gap:8px;color:#1f7a3e;font-size:13px;font-weight:700}
body.mapstl-prototype #download-content .picture-export .picture-ready-kicker .icon{width:18px;height:18px;padding:3px;border-radius:50%;background:#268044;color:#fff;stroke-width:3}
body.mapstl-prototype #download-content .picture-export .picture-ready-name{font:800 24px/1.25 Manrope,sans-serif;color:#1f3b4c;overflow-wrap:anywhere}
body.mapstl-prototype #download-content .picture-export .picture-ready-facts{display:flex;flex-wrap:wrap;gap:8px 30px;margin:6px 0 0}
body.mapstl-prototype #download-content .picture-export .picture-ready-facts div{display:grid;gap:2px}
body.mapstl-prototype #download-content .picture-export .picture-ready-facts dt{font-size:12px;color:#52697b}
body.mapstl-prototype #download-content .picture-export .picture-ready-facts dd{margin:0;font-size:16px;font-weight:700;color:#294555;font-variant-numeric:tabular-nums}
body.mapstl-prototype #download-content .picture-export .picture-choice{align-self:stretch;display:flex;flex-direction:column;align-items:stretch;gap:14px;min-width:0;margin:0;padding:24px;border-radius:9px}
body.mapstl-prototype #download-content .picture-export .picture-order{grid-area:print;border:1px solid #e8bf9b;border-top:4px solid #e9904c;background:#fff8f1}
body.mapstl-prototype #download-content .picture-export .picture-diy{grid-area:files;border:1px solid #d5e1e7;border-top:4px solid #5b8fb0;background:#f5f8fa}
body.mapstl-prototype #download-content .picture-export .picture-badge{align-self:flex-start;padding:4px 11px;border-radius:99px;font-size:12px;font-weight:700;line-height:1.5}
body.mapstl-prototype #download-content .picture-export .picture-order .picture-badge{background:#ffe3c5;color:#8a4a1f}
body.mapstl-prototype #download-content .picture-export .picture-diy .picture-badge{background:#dbeaf5;color:#245b7c}
body.mapstl-prototype #download-content .picture-export .picture-choice h4{margin:0;font:800 22px/1.3 Manrope,sans-serif;color:#294555}
body.mapstl-prototype #download-content .picture-export .picture-order h4{color:#643e27}
body.mapstl-prototype #download-content .picture-export .picture-choice-lead{margin:0;font-size:15px;line-height:1.6;color:#52697b}
body.mapstl-prototype #download-content .picture-export .picture-order .picture-choice-lead{color:#73553d}
body.mapstl-prototype #download-content .picture-export .picture-swatches{display:flex;flex-wrap:wrap;gap:6px}
body.mapstl-prototype #download-content .picture-export .picture-swatches i{width:26px;height:26px;border:1px solid #0000001f;border-radius:6px}
body.mapstl-prototype #download-content .picture-export .picture-benefits{display:grid;gap:14px;list-style:none;margin:0;padding:16px 0;border-top:1px solid #ecd6c2;border-bottom:1px solid #ecd6c2}
body.mapstl-prototype #download-content .picture-export .picture-benefits li{display:flex;align-items:flex-start;gap:10px;margin:0}
body.mapstl-prototype #download-content .picture-export .picture-benefits .icon{flex:0 0 21px;width:21px;height:21px;margin-top:1px;color:#af6630}
body.mapstl-prototype #download-content .picture-export .picture-benefits strong{display:block;color:#643e27;font-size:15px;line-height:1.4}
body.mapstl-prototype #download-content .picture-export .picture-benefits span{display:block;margin-top:3px;color:#73553d;font-size:14px;line-height:1.5}
body.mapstl-prototype #download-content .picture-export .picture-choice-action{display:grid;gap:10px;margin-top:auto}
body.mapstl-prototype #download-content .picture-export .picture-choice-action .button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:56px;padding:12px 18px;border:1px solid #e68d48;border-radius:6px;background:#ff9c57;color:#472b18;box-shadow:none;font-size:17px;font-weight:700;text-align:left;text-decoration:none;white-space:normal}
body.mapstl-prototype #download-content .picture-export .picture-choice-action .button:hover{background:#f78b40;border-color:#d87933}
body.mapstl-prototype #download-content .picture-export .picture-choice-action .button .icon{flex:0 0 21px;width:21px;height:21px}
body.mapstl-prototype #download-content .picture-export .picture-choice-action .button span{flex:1}
body.mapstl-prototype #download-content .picture-export .picture-choice-action small{color:#73553d;font-size:12px;line-height:1.5;text-align:center}
body.mapstl-prototype #download-content .picture-export .picture-diy .mosaic-selection{margin:0;font-size:13px;font-weight:700;color:#3f5668}
body.mapstl-prototype #download-content .picture-export .picture-diy .mosaic-selection select{width:100%;min-height:46px;border-color:#c9d8e2;border-radius:6px;font-size:15px;font-weight:400}
body.mapstl-prototype #download-content .picture-export .picture-diy :is(.export-caution,.export-feedback,.notice,.form-message){margin:0}
body.mapstl-prototype #download-content .picture-export .picture-diy .form-error:empty{display:none}
body.mapstl-prototype #download-content .picture-export .picture-diy .export-options{grid-template-columns:minmax(0,1fr)}
body.mapstl-prototype #download-content .picture-export .picture-diy .export-download-stl{min-height:76px;border-color:#245b7c;background:#245b7c;color:#fff}
body.mapstl-prototype #download-content .picture-export .picture-diy .export-download-stl:hover{border-color:#1b4a67;background:#1b4a67}
body.mapstl-prototype #download-content .picture-export .picture-diy .export-download-stl small{color:#dcebf5}
body.mapstl-prototype #download-content .picture-export .picture-diy .export-download-stl .file-type{background:#ffffff24;color:#fff}
body.mapstl-prototype #download-content .picture-export .picture-diy .export-download-stl:disabled{border-color:#c5d3dc;background:#dfe7ec;color:#5d7281;cursor:not-allowed}
body.mapstl-prototype #download-content .picture-export .picture-diy .export-download-stl:disabled small{color:#5d7281}
body.mapstl-prototype #download-content .picture-export .picture-diy .export-download-stl:disabled .file-type{background:#fff8;color:#5d7281}
body.mapstl-prototype #download-content .picture-export .picture-diy .export-download-stl{flex-wrap:nowrap}
body.mapstl-prototype #download-content .picture-export .picture-diy .export-download-stl .export-option-copy{flex:1 1 0}
body.mapstl-prototype #download-content .picture-export .picture-diy .export-download-stl .export-download-icon{display:block;flex:0 0 24px;width:24px;height:24px;margin:0}
body.mapstl-prototype #download-content .picture-export .picture-diy .picture-diy-facts{display:grid;gap:7px;list-style:none;margin:0;padding:0;color:#52697b;font-size:13px;line-height:1.5}
body.mapstl-prototype #download-content .picture-export .picture-diy .picture-diy-facts li{position:relative;margin:0;padding-left:16px}
body.mapstl-prototype #download-content .picture-export .picture-diy .picture-diy-facts li::before{content:'';position:absolute;left:2px;top:.55em;width:6px;height:6px;border-radius:50%;background:#8fb1c6}
body.mapstl-prototype #download-content .picture-export .picture-diy .picture-diy-facts strong{color:#294555}
body.mapstl-prototype #download-content .picture-export .picture-diy .export-secondary-options{margin-top:auto}
body.mapstl-prototype #download-content .picture-export .picture-diy .export-secondary-options .export-option{min-height:0;padding:10px 12px}
body.mapstl-prototype #download-content .picture-export .picture-diy .export-secondary-options .file-type{width:38px;height:38px;font-size:12px}
@media(max-width:900px){
 body.mapstl-prototype #download-content .picture-export.export-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:'ready' 'print' 'files' 'actions' 'details' 'support'}
}
@media(max-width:600px){
 body.mapstl-prototype #download-content .picture-export .picture-ready{flex-direction:column;align-items:flex-start;gap:16px;padding:16px}
 body.mapstl-prototype #download-content .picture-export .picture-ready-name{font-size:21px}
 body.mapstl-prototype #download-content .picture-export .picture-ready-facts{gap:10px 22px}
 body.mapstl-prototype #download-content .picture-export .picture-choice{padding:18px}
 body.mapstl-prototype #download-content .picture-export .picture-choice h4{font-size:20px}
}

/* Explicit saving stays available in every step when editing an existing map. */
body.mapstl-prototype .prototype-builder .project-edit-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0;padding:18px 26px;background:#edf6ef;border-bottom:1px solid #cadfce}
body.mapstl-prototype .prototype-builder .project-edit-bar[hidden]{display:none!important}
body.mapstl-prototype .prototype-builder .project-edit-info{min-width:0}
body.mapstl-prototype .prototype-builder .project-edit-info>span{display:block;color:#4d7859;font-size:12px;font-weight:650;margin-bottom:4px}
body.mapstl-prototype .prototype-builder #project-edit-name{display:block;font-size:17px;line-height:1.4;color:#244c34;overflow-wrap:anywhere}
body.mapstl-prototype .prototype-builder #project-edit-hint{margin:5px 0 0;color:#526e5d;font-size:13px;line-height:1.5}
body.mapstl-prototype .prototype-builder .project-edit-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
body.mapstl-prototype .prototype-builder .project-edit-actions .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;font-size:14px;font-weight:700;line-height:1.4;white-space:normal;border-radius:6px}
body.mapstl-prototype .prototype-builder #project-edit-save{background:#078d40;color:#fff;border:1px solid #078d40;box-shadow:none}
body.mapstl-prototype .prototype-builder #project-edit-save:hover{background:#067b37}
body.mapstl-prototype .prototype-builder #project-edit-save:disabled{opacity:.55;cursor:wait}
body.mapstl-prototype .prototype-builder #project-edit-detail{color:#376248;background:#fff;border:1px solid #c4dacb;box-shadow:none}
body.mapstl-prototype .prototype-builder #palette .filament-part-name{font-size:17px;font-weight:700;line-height:1.4}
@media(max-width:760px){
 body.mapstl-prototype .prototype-builder .project-edit-bar{align-items:stretch;flex-direction:column;gap:12px;padding:16px}
 body.mapstl-prototype .prototype-builder .project-edit-actions{display:grid;grid-template-columns:1fr 1.25fr}
 body.mapstl-prototype .prototype-builder .project-edit-actions .button{padding-inline:10px}
 body.mapstl-prototype .prototype-builder #palette .filament-part-name{font-size:16px}
}
