:root{--ink:#243d34;--muted:#73776d;--green:#244b3e;--green-hover:#19382e;--orange:#dc6637;--page:#faf9f5;--surface:#fffefa;--soft:#f0f0e8;--line:#e4e5dc;--error:#a03223;--error-bg:#fff0e9;--radius:8px;--font:'Segoe UI',Arial,sans-serif;--heading:'Segoe UI',Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--ink);font:14px/1.5 var(--font);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit}button,summary,a,label,input{touch-action:manipulation}button svg,a svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #dc895c;outline-offset:3px}input[type=checkbox],input[type=radio]{accent-color:var(--green)}[hidden]{display:none!important}p{margin:0}h1,h2,h3{font-family:var(--heading);margin:0}svg{display:block}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:12px;z-index:5000;padding:12px 20px;background:var(--green);color:#fff}.skip-link:focus{top:12px}
.site-header{height:78px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;background:var(--surface);position:relative;z-index:1100}.wordmark{display:flex;align-items:center;gap:9px;text-decoration:none;font-family:var(--heading);font-size:25px;letter-spacing:-1.35px;font-weight:800}.wordmark-light{font-weight:500}.brand-period{color:var(--orange)}.brand-mark{width:39px;height:39px}.header-middle{font-size:12px;letter-spacing:.4px;color:var(--muted);display:flex;gap:8px;align-items:center}.tiny-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.text-button{border:0;background:transparent;display:flex;align-items:center;gap:7px;padding:8px 0;font-size:12px;font-weight:600}.help-button{color:#536055}.help-button svg{width:18px;height:18px}
.studio{display:grid;grid-template-columns:395px minmax(0,1fr);height:calc(100dvh - 78px);min-height:560px}.settings-panel{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ced2c7 transparent;border-right:1px solid var(--line);background:var(--surface);position:relative;z-index:900}.panel-intro{padding:31px 31px 28px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2.1px;color:var(--muted)}h1{font-size:43px;line-height:1.13;letter-spacing:-2px;font-weight:650;margin:13px 0 13px}h1 em{font-family:Georgia,serif;font-weight:400;color:var(--orange);letter-spacing:-1.6px}.intro-copy{font-size:12px;color:#7a7b70;line-height:1.8}.settings-section{padding:24px 31px;border-top:1px solid var(--line)}.section-heading{display:flex;gap:11px;align-items:center;margin-bottom:18px}.section-number{font-size:10px;letter-spacing:1px;font-weight:500;color:#8d9285;border:1px solid #dde0d4;border-radius:50%;width:25px;height:25px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.section-heading h2{font-size:13px;font-weight:750;letter-spacing:-.15px}.upload-zone{border:1px dashed #bec8b7;border-radius:var(--radius);background:#f6f7f0;position:relative;transition:background .18s,border-color .18s}.upload-zone.is-dragover{border-color:var(--orange);background:#fff1e7}.file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.file-input:focus-visible+label{outline:3px solid #dc895c;outline-offset:3px}.upload-zone>label{padding:22px 12px 16px;text-align:center;display:flex;align-items:center;flex-direction:column;cursor:pointer}.upload-symbol{margin-bottom:12px;color:#647b5d}.upload-symbol svg{width:35px;height:35px;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}.upload-zone strong{font-size:12px;font-weight:600}.upload-zone label>span:not(.upload-symbol){font-size:11px;color:var(--muted);margin-top:3px}.inline-link{text-decoration:underline;text-underline-offset:3px;color:var(--green)}.upload-zone small{font-size:9px;letter-spacing:.2px;color:#929486;margin-top:13px}.field-help{font-size:10px;color:#7d8074;line-height:1.6;margin-top:8px}.demo-button{padding:0;border:0;background:transparent;color:var(--green);font-size:11px;margin-top:11px;display:flex;align-items:center;gap:8px;font-weight:600}.demo-button:hover{text-decoration:underline;text-underline-offset:3px}.demo-button span{font-size:15px}.image-preview{padding:10px}.preview-art{position:relative;height:158px;background:white;border-radius:4px;overflow:hidden}.preview-art img{width:100%;height:100%;object-fit:contain}.preview-art svg{position:absolute;inset:0;width:100%;height:100%;background:#fff}.preview-art svg polyline{fill:none;stroke:var(--green);stroke-width:.004;stroke-linecap:round;stroke-linejoin:round}.preview-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px}.preview-bottom>div{min-width:0;display:flex;flex-direction:column}.preview-bottom strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-bottom span{font-size:9px;color:var(--muted);margin-top:2px}.icon-button{border:0;background:transparent;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;flex-shrink:0}.icon-button:hover{background:var(--soft)}.trace-toggle{margin-top:10px!important;font-size:10px!important}.image-loading{min-height:166px;display:flex;gap:12px;align-items:center;justify-content:center;flex-direction:column;padding:20px;text-align:center}.inline-notice{font-size:11px;line-height:1.7;margin-top:12px;color:#796138;background:#f8f0df;border-radius:5px;padding:10px 12px}
.label-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.label-row label{font-size:11px;font-weight:600;display:flex;align-items:center;gap:7px}.location-dot{width:7px;height:7px;display:inline-block;flex-shrink:0}.start-dot{border:2px solid var(--green);border-radius:50%}.end-dot{background:var(--orange);border-radius:1px}.map-pick-button{border:0;background:transparent;font-size:9px;color:#6a7866;padding:3px 0;display:flex;align-items:center;gap:4px}.map-pick-button.active{color:var(--orange);font-weight:700}.map-pick-button:hover{color:var(--orange)}.search-control{display:flex;align-items:stretch;min-width:0;border:1px solid #dde1d6;border-radius:5px;background:#fff;transition:border-color .2s}.search-control:focus-within{border-color:#6c8064}.search-control input{border:0;background:transparent;min-width:0;width:100%;padding:10px 11px;font-size:10px;color:var(--ink);outline-offset:-2px}.search-control input::placeholder{color:#989d90}.search-control.is-selected{border-color:#a7baa3}.search-button{width:35px;flex-shrink:0;background:transparent;border:0;border-left:1px solid var(--line);display:flex;align-items:center;justify-content:center;padding:0}.search-button:hover{background:var(--soft)}.search-button svg{width:15px;height:15px;stroke-width:1.6}.selected-location{font-size:9px;color:#64805c;display:block;margin-top:4px}.selected-location:empty{display:none}.location-field{position:relative}.location-help{font-size:9px;line-height:1.55;margin-top:7px}.search-results{border:1px solid var(--line);border-radius:5px;background:#fff;box-shadow:0 6px 18px #1c322714;margin-top:5px;overflow:hidden;max-height:215px;overflow-y:auto}.search-results button{background:transparent;border:0;border-bottom:1px solid var(--line);padding:9px 10px;font-size:10px;text-align:left;width:100%;display:block;line-height:1.6}.search-results button:last-child{border-bottom:0}.search-results button:hover,.search-results button:focus{background:var(--soft)}.search-results p{padding:9px 10px;font-size:10px;color:var(--muted)}.stops-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:22px;margin-bottom:9px;font-size:10px;font-weight:600}.optional-label{font-size:8px;letter-spacing:1px;color:#969a8d;font-weight:400}.stops-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.stop-item{border-left:1px solid #cdd5c3;padding-left:13px;position:relative}.stop-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}.stop-topline label{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:500}.stop-number{display:flex;align-items:center;justify-content:center;position:absolute;left:-9px;top:4px;width:17px;height:17px;border-radius:50%;background:var(--green);color:#fff;font-size:8px;outline:3px solid var(--surface)}.stop-actions{display:flex;gap:1px}.stop-actions button{width:24px;height:24px;font-size:15px;border:0;background:transparent;border-radius:3px;color:#73826d}.stop-actions button:hover{background:var(--soft);color:var(--green)}.stop-actions button:disabled{opacity:.25}.stop-item .map-pick-button{margin-top:4px}.stop-item .search-control input{padding:9px 9px}.add-stop-button{border:1px dashed #c9d0c0;width:100%;padding:8px 12px;display:flex;align-items:center;justify-content:center;gap:8px;background:transparent;border-radius:5px;font-size:10px;color:#758369;margin-top:10px}.add-stop-button>span{font-size:17px;line-height:1}.add-stop-button:hover{border-color:var(--green);background:#f4f6ed;color:var(--green)}.end-block{margin-top:20px}.check-line{display:flex;align-items:center;gap:8px;font-size:10px;cursor:pointer;margin:0}.check-line input{width:13px;height:13px;margin:0;flex-shrink:0}.loop-symbol{margin-left:auto;font-size:18px;line-height:1;color:#94a087}.end-block .location-field{margin-top:17px}.distance-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.distance-row label{font-size:11px;font-weight:600}.distance-row .field-help{font-size:9px;margin-top:4px}.distance-input{display:flex;align-items:center;gap:5px;border:1px solid #dce1d2;border-radius:5px;padding:8px 10px 8px 8px;background:white}.distance-input input{width:47px;min-width:0;border:0;font-family:var(--heading);font-size:20px;font-weight:600;color:var(--green);background:transparent;padding:0;text-align:right;appearance:textfield}.distance-input input::-webkit-inner-spin-button,.distance-input input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.distance-input span{font-size:10px;color:#7b8371}.advanced-options{margin-top:18px}.advanced-options>summary{display:flex;list-style:none;align-items:center;justify-content:space-between;font-size:10px;color:#858d7a;cursor:pointer;padding:5px 0}.advanced-options summary::-webkit-details-marker{display:none}.advanced-options summary svg{stroke:currentColor;stroke-width:1.5;width:17px;height:17px;transition:transform .2s}.advanced-options[open] summary svg{transform:rotate(180deg)}.advanced-content{padding-top:14px;display:grid;gap:19px}.detail-fieldset{border:0;margin:0;padding:0}.detail-fieldset legend{font-size:10px;font-weight:600;padding:0;margin-bottom:9px}.segmented-control{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:3px;border:1px solid var(--line);background:var(--soft);border-radius:5px}.segmented-control label{position:relative;cursor:pointer;text-align:center;font-size:10px}.segmented-control input{position:absolute;opacity:0}.segmented-control span{display:block;padding:6px 4px;border-radius:3px;color:var(--muted)}.segmented-control input:checked+span{background:var(--surface);color:var(--green);box-shadow:0 1px 3px #243d3412}.segmented-control input:focus-visible+span{outline:2px solid var(--orange)}.rotation-control .label-row label{font-size:10px}.rotation-control output{font-size:10px;color:var(--muted)}.rotation-control input{width:100%;accent-color:var(--green);margin:0}.range-labels{display:flex;justify-content:space-between;font-size:8px;color:#92998a}.steps-toggle{font-size:10px}.preferences-section{padding-bottom:20px}.generate-footer{padding:20px 31px 24px;border-top:1px solid var(--line);background:var(--surface)}.generate-button{border:0;border-radius:5px;background:var(--green);color:#fff;width:100%;padding:14px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:600;transition:background .2s}.generate-button:hover{background:var(--green-hover)}.generate-button svg{width:18px;height:18px}.privacy-note{display:flex;align-items:center;justify-content:center;gap:5px;color:#8c9382;font-size:8px;margin-top:10px}.privacy-note svg{width:10px;height:10px;stroke:currentColor;stroke-width:1.2}.error-notice{font-size:11px;line-height:1.6;padding:11px 12px;background:var(--error-bg);border-left:3px solid var(--error);color:var(--error);border-radius:3px;margin-bottom:12px}
.map-panel{position:relative;overflow:hidden;min-width:0;background:#e6eadf}.map-panel #map{position:absolute;inset:0;z-index:0;background:#e6eadf}.leaflet-container{font-family:var(--font)!important}.leaflet-tile-pane{filter:saturate(.42) contrast(.94) brightness(1.035)}.leaflet-control-attribution{font-size:8px!important;background:#fffdf5d9!important;max-width:90%}.leaflet-control-attribution a{color:#657662!important}.leaflet-control-zoom{border:1px solid #d1d8c9!important;box-shadow:0 2px 5px #22382c0c!important;margin-right:24px!important;margin-bottom:45px!important}.leaflet-control-zoom a{color:var(--green)!important;background:var(--surface)!important;border-color:var(--line)!important;font-size:20px!important;font-weight:400!important}.map-topline{position:absolute;top:24px;left:27px;right:24px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;z-index:450}.map-mode{display:inline-flex;align-items:center;gap:8px;font-size:9px;letter-spacing:1.7px;font-weight:600;color:#63745b;background:#fffdf4ed;border:1px solid #dae0d1;border-radius:4px;padding:9px 12px;box-shadow:0 2px 5px #22382c06}.map-mode .tiny-dot{width:5px;height:5px;color:#779667}.map-tool-button{pointer-events:auto;border:1px solid #d5ddcc;background:var(--surface);width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:4px;color:#5c6d54;box-shadow:0 2px 5px #22382c0a}.map-tool-button:hover{background:var(--soft)}.map-tool-button svg{width:17px;height:17px}.map-pick-banner{z-index:700;position:absolute;top:76px;left:27px;right:24px;background:var(--green);color:white;padding:12px 14px;border-radius:5px;box-shadow:0 4px 15px #243d3426;display:flex;align-items:center;gap:10px;font-size:12px}.map-pick-banner span:nth-child(2){flex:1}.pick-crosshair{font-size:23px;line-height:1}.map-pick-banner button{border:1px solid #ffffff59;border-radius:3px;background:transparent;color:#fff;padding:4px 9px;font-size:10px}.is-picking .leaflet-container,.is-picking .leaflet-interactive{cursor:crosshair}.tile-warning{position:absolute;z-index:450;top:75px;left:27px;right:24px;border:1px solid #e0d6c1;background:#fff9e8e8;border-radius:5px;padding:9px 12px;font-size:10px;color:#82683f}.is-picking .tile-warning{top:144px}.map-empty-state{position:absolute;z-index:400;left:50%;top:50%;transform:translate(-50%,-50%);background:#fffef8eb;box-shadow:0 8px 50px #263d2a0d;border:1px solid #e1e4d4;border-radius:9px;padding:25px 28px;display:flex;align-items:center;gap:20px;max-width:calc(100% - 100px);width:375px;pointer-events:none;backdrop-filter:blur(5px)}.empty-route-icon{flex-shrink:0;color:#5f7854}.empty-route-icon svg{height:48px;width:48px;stroke:currentColor}.map-empty-state h2{font-size:16px;line-height:1.4;letter-spacing:-.5px;font-weight:650;margin-bottom:8px}.map-empty-state p{font-size:11px;color:#899079;line-height:1.7}.map-bottom-note{position:absolute;bottom:19px;left:27px;z-index:450;display:flex;align-items:center;gap:6px;font-size:9px;color:#637159;background:#fffdf6db;padding:5px 8px;border:1px solid #dce2d2;border-radius:3px;pointer-events:none}.map-bottom-note svg{width:12px;height:12px;stroke:currentColor;stroke-width:1.5}.map-marker{width:27px!important;height:27px!important;background:var(--green);border:3px solid var(--surface);box-shadow:0 2px 8px #1e3b3438;color:white;display:flex!important;align-items:center;justify-content:center;border-radius:50%;font-size:10px;font-weight:700}.map-marker-end{background:var(--orange);border-radius:5px}.map-marker-loop{font-size:8px;width:31px!important;height:31px!important}.map-marker-stop{background:#fffef8;color:var(--green);border:2px solid var(--green);font-size:10px}.leaflet-tooltip{border-color:var(--line)!important;color:var(--ink)!important;box-shadow:0 2px 8px #22382c12!important;font-family:var(--font)!important;font-size:11px!important}.leaflet-popup-content-wrapper{border-radius:6px!important}.leaflet-popup-content{font-size:11px!important;line-height:1.6!important}
.job-panel{position:absolute;z-index:500;left:27px;right:27px;bottom:57px;background:var(--surface);padding:23px 25px;border:1px solid #dbe1d1;border-radius:8px;max-width:500px;box-shadow:0 8px 35px #243d3414}.job-title-row{display:flex;align-items:center;gap:10px;margin-bottom:14px}.job-title-row strong{font-size:13px;font-weight:600}.job-title-row>span:last-child{margin-left:auto;font-size:11px;color:var(--muted)}progress{appearance:none;width:100%;height:4px;border:0;border-radius:2px;display:block;background:var(--soft);overflow:hidden}progress::-webkit-progress-bar{background:var(--soft)}progress::-webkit-progress-value{background:var(--orange);transition:width .3s}progress::-moz-progress-bar{background:var(--orange)}.job-panel p{font-size:11px;color:#65725e;margin-top:12px}.job-panel small{display:block;font-size:9px;color:#909685;margin-top:5px}.spinner{display:inline-block;width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .8s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}
.result-panel{position:absolute;z-index:500;bottom:56px;left:27px;width:calc(100% - 110px);max-width:470px;background:var(--surface);border:1px solid #d6dfcd;border-radius:8px;padding:22px 24px 16px;box-shadow:0 8px 35px #243d341a;max-height:calc(100% - 132px);overflow:auto;scrollbar-width:thin}.result-heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.result-heading-row .eyebrow{font-size:8px;letter-spacing:1.6px;color:#809073}.result-heading-row h2{font-size:23px;letter-spacing:-.8px;line-height:1.35;margin-top:5px;font-weight:600}.result-heading-row .icon-button{margin-top:-2px;margin-right:-8px}.result-panel.collapsed #result-collapse svg{transform:rotate(180deg)}.route-metrics{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:8px;margin:19px 0 14px;padding:0 0 16px;border-bottom:1px solid var(--line)}.route-metrics>div{display:flex;flex-direction:column;justify-content:flex-end;border-left:1px solid var(--line);padding-left:17px}.route-metrics>div:first-child{border-left:0;padding-left:0}.route-metrics strong{font-size:22px;line-height:1.2;font-family:var(--heading);font-weight:550;letter-spacing:-.5px}.route-metrics .primary-metric strong{font-size:32px;letter-spacing:-1.2px;color:var(--green)}.route-metrics span{font-size:8px;color:#939887;margin-top:5px}.map-legend{display:flex;align-items:center;gap:18px;font-size:9px;color:#6d7c61}.map-legend>span,.map-legend label{display:flex;align-items:center;gap:6px}.map-legend i{width:16px;height:3px;border-radius:2px;display:inline-block}.legend-route{background:var(--orange)}.legend-reference{border-top:2px dashed #688653;height:0!important}.map-legend label{cursor:pointer}.map-legend input{width:11px;height:11px;margin:0}.result-note{font-size:10px;color:#7c866f;line-height:1.7;margin-top:12px}.route-details{margin:13px 0 16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.route-details>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:10px 0;font-size:10px;color:var(--green);list-style:none}.route-details summary::-webkit-details-marker{display:none}.route-details summary>span{font-size:15px;color:#9aa58c}.route-details[open] summary>span{transform:rotate(45deg)}.route-details>div{font-size:10px;color:#6e7c64;padding-bottom:10px;line-height:1.7}.route-details ul,.route-details ol{padding-left:17px;margin:8px 0}.route-details li{margin:5px 0}.route-details ol{border-top:1px solid var(--line);padding-top:10px}.export-actions{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:6px}.export-actions a{font-size:10px;font-weight:500;text-decoration:none;text-align:center;display:flex;justify-content:center;align-items:center;gap:5px;padding:10px 7px;border-radius:4px;white-space:nowrap}.export-primary{background:var(--green);color:white;border:1px solid var(--green)}.export-primary:hover{background:var(--green-hover)}.export-primary svg{width:13px;height:13px}.export-secondary{border:1px solid #dbe2d2;background:transparent;color:#657757}.export-secondary:hover{background:var(--soft);border-color:#aebb9f}.export-secondary span{font-size:13px}.preview-link{display:flex;align-items:center;justify-content:center;gap:5px;font-size:9px;color:#808d72;margin-top:12px;text-decoration:none}.preview-link:hover{text-decoration:underline;text-underline-offset:3px}.preview-link span{font-size:12px}
dialog{padding:29px 35px 30px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:var(--surface);width:530px;max-width:calc(100% - 32px);max-height:calc(100dvh - 48px);box-shadow:0 25px 100px #152a2538}dialog::backdrop{background:#203a2d65;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.dialog-heading .icon-button{font-size:23px;font-weight:400;margin-right:-10px}dialog h2{font-size:30px;line-height:1.3;letter-spacing:-1px;margin:12px 0 24px;font-weight:550}.help-steps{list-style:none;counter-reset:help;padding:0;display:grid;gap:20px}.help-steps li{counter-increment:help;padding-left:33px;position:relative}.help-steps li::before{content:counter(help,decimal-leading-zero);position:absolute;left:0;top:1px;font-size:10px;color:var(--orange);letter-spacing:1px}.help-steps strong{font-size:12px;font-weight:600}.help-steps p{font-size:11px;color:var(--muted);line-height:1.8;margin-top:4px}.help-footnote{background:var(--soft);padding:14px 17px;border-radius:5px;margin-top:25px}.help-footnote strong{font-size:11px}.help-footnote p{font-size:10px;line-height:1.8;color:#7c826f;margin-top:4px}.privacy-explanation{font-size:9px;color:#8c9480;line-height:1.7;margin:15px 0 20px}
@media(min-width:1600px){.studio{grid-template-columns:430px minmax(0,1fr)}.panel-intro,.settings-section{padding-left:37px;padding-right:37px}.panel-intro{padding-top:36px;padding-bottom:32px}h1{font-size:48px}.generate-footer{padding-left:37px;padding-right:37px}.result-panel{max-width:500px}.map-empty-state{width:400px}}
@media(max-width:1050px){.site-header{padding:0 25px;height:70px}.studio{height:calc(100dvh - 70px);grid-template-columns:350px minmax(0,1fr)}.panel-intro,.settings-section{padding-left:25px;padding-right:25px}.generate-footer{padding-left:25px;padding-right:25px}h1{font-size:39px}.header-middle{display:none}.map-topline{left:18px;right:18px;top:18px}.map-empty-state{flex-direction:column;text-align:center;gap:13px;padding:22px;max-width:calc(100% - 60px);width:280px}.map-empty-state h2{font-size:15px}.map-pick-banner{left:18px;right:18px;top:64px;font-size:11px}.tile-warning{left:18px;right:18px;top:64px}.is-picking .tile-warning{top:132px}.result-panel{left:18px;width:calc(100% - 75px);padding:18px 18px 14px}.result-heading-row h2{font-size:21px}.result-heading-row .eyebrow{font-size:7px;letter-spacing:1.1px}.route-metrics{gap:6px}.route-metrics>div{padding-left:10px}.route-metrics strong{font-size:19px}.route-metrics .primary-metric strong{font-size:28px}.route-metrics span{font-size:7px}.export-actions{grid-template-columns:1fr 1fr}.export-actions .export-primary{grid-column:1/-1}.job-panel{left:18px;right:18px;padding:20px}.map-bottom-note{left:18px;font-size:8px}.leaflet-control-zoom{margin-right:18px!important}}
@media(max-width:960px){.site-header{height:64px;padding:0 20px}.wordmark{font-size:22px;letter-spacing:-1px;gap:6px}.brand-mark{width:34px;height:34px}.help-button{font-size:10px;gap:5px}.help-button svg{width:16px;height:16px}.studio{height:auto;min-height:0;display:flex;flex-direction:column}.settings-panel{overflow:visible;border-right:0;order:1}.map-panel{height:510px;min-height:380px;order:0;border-bottom:1px solid var(--line)}.panel-intro{padding:25px 24px;display:grid;grid-template-columns:1fr 1fr;column-gap:18px}.panel-intro .eyebrow{grid-column:1/-1}.panel-intro h1{font-size:33px;margin:12px 0 0}.intro-copy{align-self:center;font-size:11px;padding-top:15px}.settings-section{padding:24px}.generate-footer{padding:22px 24px 26px}.map-empty-state{width:320px;max-width:calc(100% - 64px);flex-direction:row;text-align:left;gap:18px;padding:21px}.map-empty-state h2{font-size:15px}.map-empty-state p{font-size:10px}.map-bottom-note{bottom:20px}.map-mode{font-size:8px;padding:8px 10px}.map-tool-button{width:31px;height:31px}.map-topline{left:18px;top:18px;right:18px}.result-panel{width:calc(100% - 78px);max-width:470px;bottom:54px;max-height:calc(100% - 117px)}.result-heading-row h2{font-size:20px}.result-heading-row .eyebrow{font-size:7px}.route-metrics{margin:14px 0 11px;padding-bottom:13px;grid-template-columns:1.1fr 1fr 1fr}.route-metrics span{font-size:8px}.export-actions{grid-template-columns:1.25fr 1fr 1fr}.export-actions .export-primary{grid-column:auto}.export-actions a{font-size:9px;padding:9px 5px}.result-note{font-size:9px;margin-top:9px}.route-details{margin:11px 0 12px}.job-panel{bottom:54px}.section-heading h2{font-size:14px}.section-heading{margin-bottom:19px}.section-number{font-size:10px}.label-row label,.distance-row label{font-size:12px}.map-pick-button{font-size:11px}.search-control input{font-size:12px;padding:12px}.search-button{width:42px}.search-button svg{width:17px;height:17px}.field-help{font-size:11px}.location-help{font-size:10px}.selected-location{font-size:10px}.search-results button,.search-results p{font-size:12px;padding:11px 12px}.stops-heading{font-size:11px}.optional-label{font-size:9px}.add-stop-button{font-size:12px;padding:10px}.check-line{font-size:12px}.check-line input{width:15px;height:15px}.stop-topline label{font-size:11px}.stop-actions button{width:30px;height:30px}.stop-item .search-control input{padding:11px}.stop-number{top:7px}.distance-row .field-help{font-size:10px}.distance-input input{font-size:23px}.distance-input span{font-size:12px}.distance-input{padding:9px 12px}.advanced-options>summary{font-size:12px}.generate-button{padding:15px 18px;font-size:13px}.privacy-note{font-size:9px}.upload-zone label{padding-top:24px;padding-bottom:21px}.upload-zone strong{font-size:13px}.upload-zone label>span:not(.upload-symbol){font-size:12px}.upload-zone small{font-size:10px}.demo-button{font-size:12px}.preview-art{height:205px}.image-preview{padding:12px}.preview-bottom span{font-size:10px}.trace-toggle{font-size:11px!important}.rotation-control .label-row label,.rotation-control output,.detail-fieldset legend,.steps-toggle{font-size:11px}.segmented-control label{font-size:11px}.segmented-control span{padding:8px}.range-labels{font-size:9px}.inline-notice,.error-notice{font-size:12px}dialog{padding:23px 25px}dialog h2{font-size:28px}.help-steps p{font-size:12px}.help-steps strong{font-size:13px}.help-footnote p{font-size:11px}}
@media(max-width:380px){.site-header{padding:0 14px}.wordmark{font-size:20px}.help-button{font-size:9px}.help-button svg{display:none}.map-panel{height:480px}.map-empty-state{padding:18px;gap:12px;max-width:calc(100% - 54px)}.empty-route-icon svg{width:34px;height:38px}.map-empty-state h2{font-size:13px}.map-empty-state p{font-size:9px}.panel-intro{padding:24px 20px}.intro-copy{font-size:10px}.panel-intro h1{font-size:31px}.settings-section,.generate-footer{padding-left:20px;padding-right:20px}.result-panel{left:14px;width:calc(100% - 66px);padding:15px 13px 12px}.result-heading-row h2{font-size:18px}.route-metrics .primary-metric strong{font-size:26px}.route-metrics strong{font-size:18px}.route-metrics span{font-size:7px}.map-legend{font-size:8px;gap:10px}.export-actions{gap:4px}.export-actions a{font-size:8px}.export-primary svg{width:11px}.map-pick-banner{left:14px;right:14px;font-size:10px;padding:10px}.map-pick-banner button{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation-duration:1.5s!important}}
@media(max-width:960px){.map-panel{height:auto;min-height:510px;padding-top:510px;overflow:visible}#map{height:510px;bottom:auto}.result-panel{position:relative;left:auto;bottom:auto;width:calc(100% - 36px);max-width:none;margin:18px;max-height:none}.map-bottom-note{top:477px;bottom:auto}} @media(max-width:380px){.map-panel{min-height:480px;padding-top:480px}#map{height:480px}.map-bottom-note{top:447px}}

/* Public service: comfortable controls and predictable scrolling at every size. */
:root{--map-height:510px}
.site-header{padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right))}
.settings-panel{overscroll-behavior:contain}.field-help,.intro-copy,.privacy-explanation,.selected-location,.result-note{overflow-wrap:anywhere}
.search-control input{font-size:12px}.search-button{min-width:40px;min-height:40px}.search-results button{font-size:12px;min-height:44px}
.map-pick-button{min-height:32px;font-size:10px}.stop-actions button{min-width:32px;min-height:32px}.icon-button{width:36px;height:36px}
.privacy-note{font-size:10px;text-align:center;line-height:1.6;align-items:flex-start}.privacy-note svg{margin-top:3px;flex-shrink:0}
.field-help{font-size:11px}.selected-location{font-size:10px}.range-labels{font-size:10px}.route-metrics span{font-size:10px}.result-note{font-size:11px}.route-details>summary{font-size:12px;min-height:44px}.route-details>div{font-size:11px}.route-details li{overflow-wrap:anywhere}
.export-actions a{min-height:42px;font-size:11px}.preview-link{min-height:36px;font-size:11px}.export-actions a[aria-disabled=true]{pointer-events:none;opacity:.5}
.map-tools{display:flex;align-items:center;gap:8px;pointer-events:auto}.map-tool-button{width:40px;height:40px}.map-interaction-button{border:1px solid #cdd8c4;border-radius:4px;background:var(--surface);color:var(--green);font-size:11px;padding:9px 11px;min-height:40px}.map-interaction-button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:#fff}.map-scroll-locked #map{touch-action:pan-y!important}
.map-pick-banner{align-items:center;flex-wrap:wrap}.map-pick-banner>span:nth-child(2){min-width:120px}.map-pick-banner button{min-height:36px}.map-empty-state{overflow-wrap:anywhere}.map-empty-state p{font-size:12px}.map-bottom-note{font-size:10px}.leaflet-control-attribution{font-size:9px!important;line-height:1.35!important}.leaflet-control-zoom a{width:36px!important;height:36px!important;line-height:36px!important}
.diagnostics-open{display:block;margin:14px auto 0;border:0;border-bottom:1px solid #b8c3ac;background:transparent;padding:5px 0;color:#677b59;font-size:11px;min-height:34px}
.diagnostics-intro{font-size:13px;color:var(--muted);line-height:1.7}.diagnostic-checks{margin:22px 0;display:grid;gap:0;border-top:1px solid var(--line)}.diagnostic-checks>div{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.diagnostic-checks dt{color:var(--muted)}.diagnostic-checks dd{margin:0;text-align:right;font-weight:600;overflow-wrap:anywhere}.diagnostic-actions{display:flex;gap:10px;margin-top:20px;align-items:stretch}.diagnostic-actions button{min-height:44px;border-radius:5px;font-size:12px;padding:12px 14px}.diagnostic-actions .export-secondary{background:transparent;flex:1}.diagnostic-actions .generate-button{width:auto;flex:1.2}.diagnostic-actions+.privacy-explanation{margin-bottom:0}.error-notice{overflow-wrap:anywhere}dialog{overscroll-behavior:contain}
@media(min-width:961px) and (max-width:1250px){.result-panel{max-width:340px}.route-metrics{grid-template-columns:1.1fr 1fr 1fr}.route-metrics>div{padding-left:8px}.route-metrics span{font-size:8px}.result-heading-row h2{font-size:21px}.map-legend{gap:10px;font-size:10px}.export-actions{grid-template-columns:1fr 1fr}.export-actions .export-primary{grid-column:1/-1}}
@media(max-width:960px){
  :root{--map-height:clamp(340px,62svh,540px)}
  .site-header{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}
  .settings-panel{overscroll-behavior:auto}.panel-intro,.settings-section,.generate-footer{padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right))}
  .map-panel{padding-top:var(--map-height);min-height:var(--map-height);height:auto}.map-panel #map{height:var(--map-height);bottom:auto}.map-empty-state{top:calc(var(--map-height) / 2)}.map-bottom-note{top:calc(var(--map-height) - 40px);bottom:auto;max-width:calc(100% - 78px)}.job-panel{top:auto;bottom:56px;max-height:calc(var(--map-height) - 132px);overflow:auto}.result-panel{position:relative;left:auto;top:auto;bottom:auto;width:calc(100% - 36px);max-width:none;max-height:none;margin:18px}.map-topline{left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));top:14px}.map-mode{padding:9px;font-size:8px;letter-spacing:1.2px}
  .search-control input,.stop-item .search-control input{font-size:16px;min-height:46px;padding:11px}.search-button{min-width:46px;min-height:46px}.search-results button{font-size:14px}.label-row label,.stop-topline label{font-size:12px}.label-row{flex-wrap:wrap;row-gap:0}.map-pick-button{font-size:11px;min-height:40px}.stop-actions button{width:40px;height:40px;min-width:40px;min-height:40px;font-size:18px}.stop-number{top:12px}.add-stop-button,.demo-button,.text-button,.check-line,.icon-button{min-height:44px}.icon-button{width:44px}.check-line{font-size:13px}.check-line input{width:17px;height:17px}.loop-toggle{min-height:44px}.stop-item{padding-left:15px}.stop-item .map-pick-button{margin-top:0}.stops-heading{font-size:12px}.distance-row label{font-size:13px}.distance-row .field-help{font-size:11px}.distance-input input{min-height:30px;font-size:24px}.distance-input{flex-shrink:0}.advanced-options>summary{min-height:44px;font-size:13px}.segmented-control span{min-height:40px;padding:11px 6px;font-size:12px}.rotation-control .label-row label,.rotation-control output{font-size:12px}.rotation-control input{min-height:32px}.generate-button{min-height:48px;font-size:14px}.privacy-note{font-size:11px}.generate-footer{padding-bottom:calc(26px + env(safe-area-inset-bottom))}.diagnostics-open{min-height:44px;font-size:12px}.trace-toggle{font-size:12px!important}.preview-bottom strong{font-size:13px}.preview-bottom span{font-size:11px}.route-metrics span{font-size:11px}.route-metrics strong{font-size:24px}.route-metrics .primary-metric strong{font-size:34px}.result-heading-row h2{font-size:24px}.map-legend{font-size:12px;flex-wrap:wrap;gap:12px}.map-legend label{min-height:36px}.map-legend input{width:16px;height:16px}.result-note{font-size:12px}.route-details>div{font-size:12px}.export-actions a{font-size:12px;min-height:46px}.preview-link{font-size:12px;min-height:40px}.map-pick-banner{top:65px}.map-pick-banner button{min-height:40px}.tile-warning{top:65px}.is-picking .tile-warning{top:150px}.help-button{font-size:11px}.help-footnote p,.privacy-explanation{font-size:11px}
}
@media(min-width:600px) and (max-width:960px){.settings-panel>div,.settings-panel>form{max-width:680px;margin-left:auto;margin-right:auto}.panel-intro{padding-top:34px;padding-bottom:34px}.panel-intro h1{font-size:40px}.intro-copy{font-size:13px}.result-panel{max-width:680px;margin-left:auto;margin-right:auto}.map-empty-state{width:380px}.upload-zone>label{padding:28px}.preview-art{height:240px}.site-header{height:72px}.wordmark{font-size:25px}}
@media(max-width:380px){.site-header{padding-left:12px;padding-right:12px}.wordmark{font-size:20px}.brand-mark{width:29px}.help-button{font-size:10px}.panel-intro,.settings-section,.generate-footer{padding-left:18px;padding-right:18px}.panel-intro{column-gap:12px}.intro-copy{font-size:10px}.map-topline{left:12px;right:12px;gap:6px}.map-mode{font-size:7px;letter-spacing:.8px;padding:8px}.map-tools{gap:5px}.map-interaction-button{font-size:10px;padding:8px}.map-tool-button{width:36px}.map-empty-state{padding:17px;max-width:calc(100% - 40px);gap:12px}.map-empty-state p{font-size:11px}.map-empty-state h2{font-size:14px}.map-bottom-note{font-size:8px;left:12px;max-width:calc(100% - 65px)}.stop-actions{gap:0}.stop-actions button{width:36px;min-width:36px}.stop-topline{gap:3px}.stop-topline label{font-size:11px}.distance-row{gap:7px}.distance-row .field-help{font-size:10px}.distance-input{padding:8px}.result-panel{width:calc(100% - 24px);margin:12px;padding:17px}.route-metrics>div{padding-left:8px}.route-metrics span{font-size:9px}.route-metrics strong{font-size:21px}.route-metrics .primary-metric strong{font-size:29px}.export-actions{grid-template-columns:1fr 1fr}.export-actions .export-primary{grid-column:1/-1}.diagnostic-actions{flex-direction:column}.diagnostic-actions .generate-button{width:100%}.diagnostic-checks>div{gap:12px;font-size:11px}}
@media(max-width:290px){.wordmark{font-size:17px;gap:2px}.brand-mark{width:25px}.help-button{font-size:9px}.panel-intro{grid-template-columns:1fr}.intro-copy{padding-top:10px}.map-mode{max-width:100px;overflow:hidden}.map-mode-text{overflow:hidden}.map-tools{gap:3px}.map-tool-button{width:31px}.map-interaction-button{padding:6px;font-size:9px}.stop-topline{flex-wrap:wrap}.stop-actions{margin-left:auto}.label-row label{font-size:11px}.map-pick-button{font-size:10px}.diagnostic-checks>div{flex-direction:column;gap:4px}.diagnostic-checks dd{text-align:left}}
@media(max-height:520px) and (min-width:961px){.site-header{height:60px}.studio{height:calc(100dvh - 60px);min-height:300px}.map-topline{top:12px}.result-panel{bottom:48px;max-height:calc(100% - 105px);padding-top:14px}.map-bottom-note{bottom:17px}.job-panel{bottom:52px;max-height:calc(100% - 112px);overflow:auto}.panel-intro{padding-top:20px;padding-bottom:20px}dialog{max-height:calc(100dvh - 24px)}}
@media(prefers-reduced-motion:reduce){.spinner{animation:none;border-right-color:currentColor;border-style:dotted}}

.take-photo-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;margin-top:12px;padding:10px 14px;background:transparent;border:1px solid #cbd6c1;border-radius:5px;color:var(--green);font-size:12px;font-weight:600}.take-photo-button:hover{background:var(--soft)}.take-photo-button svg{width:18px;height:18px}.camera-intro{font-size:13px;line-height:1.7;color:var(--muted);margin-bottom:18px}.camera-view{position:relative;display:flex;align-items:center;justify-content:center;min-height:200px;height:min(42svh,340px);background:#e7ebdf;border:1px solid var(--line);border-radius:7px;overflow:hidden}.camera-view video,.camera-view img{display:block;width:100%;height:100%;object-fit:contain}.camera-view>p{position:absolute;padding:20px;font-size:13px;color:#65775a;text-align:center}.camera-status{font-size:12px;line-height:1.7;color:#69795e;margin:13px 0;min-height:40px}.camera-actions{display:flex;gap:10px}.camera-actions button{min-height:46px;padding:12px 15px;border-radius:5px;font-size:13px;flex:1}.camera-actions .generate-button{width:auto;justify-content:center}.native-camera-button{display:block;border:0;background:transparent;color:var(--green);text-decoration:underline;text-underline-offset:3px;font-size:12px;min-height:44px;margin:8px auto 0;padding:8px 10px}#camera-dialog h2{margin-bottom:10px}#camera-dialog .privacy-explanation{margin-bottom:0}
@media(max-width:380px){.camera-view{min-height:170px}.camera-actions{gap:7px}.camera-actions button{font-size:12px;padding:10px}.camera-intro{font-size:12px}}
@media(max-height:520px){#camera-dialog{padding:16px 22px}.camera-view{height:180px;min-height:150px}.camera-intro{margin-bottom:10px}.camera-status{min-height:0;margin:10px 0}}

/* Artwork editing stays explicit: saved projects contain locations, diagnostics do not. */
.project-toolbar{padding:15px 24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;gap:8px;flex-wrap:wrap;background:#f4f5ed}.project-toolbar button,.image-tools button,.small-action,.refine-route-button,.editor-toolbar button,.editor-sidebar button{border:1px solid #c8d2bc;border-radius:5px;background:var(--surface);color:var(--green);font-size:12px;padding:9px 11px;min-height:40px}.project-toolbar button:hover,.image-tools button:hover,.editor-toolbar button:hover,.editor-sidebar button:hover{background:#e6ecd9}.project-toolbar span{font-size:10px;line-height:1.5;color:var(--muted);width:100%}.project-toolbar button:disabled,.image-tools button:disabled,.editor-toolbar button:disabled,.editor-sidebar button:disabled{opacity:.5;cursor:not-allowed}.image-tools{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:9px}.image-tools button:last-child{grid-column:1/-1}.placement-panel{margin-top:15px;border-top:1px solid var(--line);padding-top:12px}.placement-panel summary{font-size:13px;cursor:pointer;padding:9px 0;min-height:40px}.placement-panel summary span{display:inline-block;font-size:10px;background:#e7eddc;color:var(--green);border-radius:3px;padding:3px 5px;margin-left:6px}.placement-fields,.point-fields,.crop-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0}.placement-fields label,.point-fields label,.crop-fields label,.editor-sidebar>label{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:11px}.placement-fields input,.point-fields input,.crop-fields input,.editor-sidebar select{border:1px solid #cbd5bf;border-radius:4px;padding:9px;width:100%;min-height:40px;font:inherit;font-size:13px;color:var(--ink);background:#fffef9;box-sizing:border-box}.mirror-controls{display:flex;flex-direction:column;gap:7px;font-size:11px}.mirror-controls label{display:flex;align-items:center;gap:7px;min-height:32px}.mirror-controls input{accent-color:var(--green)}.opacity-control,.threshold-control{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted);margin:14px 0}.opacity-control input,.threshold-control input{min-width:0;flex:1;accent-color:var(--green)}.placement-panel .small-action{width:100%}.placement-panel .field-help{margin:9px 0;line-height:1.6}.artwork-centre{width:30px!important;height:30px!important;border:2px solid #fff;border-radius:50%;background:var(--green);color:white;display:flex!important;align-items:center;justify-content:center;box-shadow:0 2px 8px #102e3240;font-size:20px}.refine-route-button{width:100%;margin-top:12px;text-align:left;font-size:11px}.refine-route-button+.field-help{margin:8px 0;font-size:10px;line-height:1.6}.editor-dialog{width:980px;padding:24px 28px}.editor-dialog h2{margin:10px 0;font-size:30px}.editor-intro{font-size:12px;line-height:1.7;color:var(--muted);max-width:690px;margin-bottom:16px}.editor-toolbar{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}.editor-toolbar button[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 215px;gap:18px;align-items:start}.editor-canvas-wrap{aspect-ratio:1;max-height:55dvh;background:#fffefb;border:1px solid #c9d2bf;border-radius:5px;overflow:hidden;display:flex;justify-content:center}.editor-canvas-wrap svg{width:100%;height:100%;touch-action:none;user-select:none;cursor:crosshair}.editor-canvas-wrap svg:focus-visible{outline:3px solid #dc7845;outline-offset:-3px}.editor-art-line{fill:none;stroke:#799268;stroke-width:2.5;vector-effect:non-scaling-stroke}.editor-art-line.selected{stroke:#dc693a;stroke-width:3}.editor-point{fill:#fffaf0;stroke:#8c6a43;stroke-width:1.6;cursor:grab;vector-effect:non-scaling-stroke}.editor-point.selected{fill:#dc693a;stroke:#fff;stroke-width:2}.editor-sidebar{display:grid;gap:9px}.editor-sidebar button{text-align:left;min-height:36px;font-size:11px}.editor-sidebar .point-fields{margin:0}.editor-sidebar .check-line{font-size:11px;margin-top:2px}.editor-sidebar .field-help{font-size:10px;line-height:1.6}.editor-status{font-size:12px;line-height:1.6;color:var(--muted);min-height:20px;margin:14px 0}.editor-actions{display:flex;justify-content:flex-end;gap:10px}.editor-actions button{min-height:44px;padding:11px 18px;border-radius:5px;font-size:13px}.editor-actions .generate-button{width:auto;min-width:160px;justify-content:center}.cleanup-preview{position:relative;margin:16px auto;max-height:260px;width:fit-content;max-width:100%;overflow:hidden;background:#fff;border:1px solid var(--line)}.cleanup-preview img{display:block;max-height:260px;max-width:100%;object-fit:contain}.cleanup-preview #cleanup-crop-box{position:absolute;border:2px dashed #d76031;background:#e7833310;pointer-events:none;box-sizing:border-box}.threshold-control{flex-wrap:wrap;font-size:12px}.threshold-control output{margin-left:auto;font-weight:600}.threshold-control input{flex-basis:100%;min-height:30px}.crop-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.editor-canvas-wrap svg image{opacity:.25;pointer-events:none}.editor-canvas-wrap svg polyline{pointer-events:stroke}.editor-canvas-wrap svg .pencil-draft{fill:none;stroke:#dd6838;stroke-width:3;stroke-dasharray:5 3;vector-effect:non-scaling-stroke}
@media(max-width:960px){.project-toolbar{padding:16px 24px}.project-toolbar button,.image-tools button,.small-action,.editor-toolbar button,.editor-sidebar button{min-height:44px}.placement-fields input,.point-fields input,.crop-fields input,.editor-sidebar select{font-size:16px;min-height:44px}.placement-fields label,.point-fields label,.crop-fields label,.editor-sidebar>label{font-size:12px}.mirror-controls{font-size:12px}.mirror-controls label{min-height:40px}.opacity-control{font-size:12px}.refine-route-button{font-size:12px;min-height:44px}.editor-dialog{padding:20px;max-width:calc(100% - 20px)}.editor-layout{grid-template-columns:minmax(0,1fr) 200px;gap:12px}.editor-canvas-wrap{max-height:50dvh}.editor-toolbar button{font-size:11px;padding:8px}.project-toolbar span{font-size:11px}.editor-sidebar button{font-size:12px}}
@media(max-width:620px){.editor-dialog{padding:18px;max-height:calc(100dvh - 20px)}.editor-dialog h2{font-size:25px}.editor-intro{font-size:11px}.editor-layout{display:flex;flex-direction:column}.editor-canvas-wrap{width:100%;max-height:45dvh;min-height:220px}.editor-sidebar{width:100%;grid-template-columns:1fr 1fr}.editor-sidebar .point-fields{grid-column:1/-1}.editor-sidebar .field-help{grid-column:1/-1;font-size:11px}.editor-actions{position:sticky;bottom:-18px;background:var(--surface);padding:10px 0}.editor-actions button{flex:1;min-width:0!important;font-size:12px}.editor-status{font-size:11px}.crop-fields{grid-template-columns:1fr 1fr}.editor-toolbar{gap:5px}.editor-toolbar button{flex:1}.editor-sidebar .check-line{grid-column:1/-1}.project-toolbar{padding-left:24px;padding-right:24px}}
