.tm{max-width:1440px;margin:auto;padding:36px 32px 70px;font-family:Sora,Arial,sans-serif;color:#282b28}.tm *{box-sizing:border-box}.tm h1{font-size:clamp(32px,4vw,54px);font-weight:500;letter-spacing:-1.8px;margin:22px 0 10px}.tm-intro{color:#686c67;line-height:1.6;margin:0 0 28px}.tm-back{font-size:12px;color:inherit}.tm button,.tm select,.tm input{font:inherit}.tm button,.tm select{border:1px solid #d6d9d3;border-radius:9px;background:#fff;padding:10px 14px;min-height:44px;font-size:12px;color:#282b28;cursor:pointer}.tm button[aria-pressed=true],.tm .tm-primary{background:#303b32;color:white;border-color:#303b32}.tm button:disabled{opacity:.45;cursor:wait}.tm :focus-visible{outline:2px solid #35714d;outline-offset:3px}.tm-location{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:24px}.tm-location label{font-size:12px}.tm-location input{padding:12px;border:1px solid #ccc;border-radius:8px;width:200px}.tm-work{display:grid;grid-template-columns:1fr 1fr;gap:24px}.tm h2{font-size:16px;font-weight:500;margin:0 0 12px}.tm-toolbar{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 10px}.tm-map{height:400px;border-radius:12px;z-index:0;background:#e5e8e0}.tm-view{position:relative;height:454px;background:#eeede8;border-radius:12px;overflow:hidden}.tm-view canvas{display:block}.tm-view #tm-empty{position:absolute;inset:42% 25px auto;text-align:center;color:#666;font-size:14px;pointer-events:none}.tm-view #tm-fit{position:absolute;bottom:14px;right:14px;background:#ffffffe8}.tm-small,#tm-status{font-size:12px;line-height:1.65;color:#656c64}.tm-options{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:28px 0}.tm fieldset{border:1px solid #e0e3dc;border-radius:12px;padding:22px;min-width:0}.tm legend{font-size:14px;padding:0 7px}.tm fieldset label{display:block;font-size:12px;margin:18px 0 8px}.tm output{float:right}.tm input[type=range]{width:100%;accent-color:#465d47}.tm input[type=file]{max-width:100%;font-size:12px}.tm input[type=color]{width:50px;height:32px;border:0}.tm select{width:100%}.tm details{margin-top:16px;font-size:12px}.tm .leaflet-control-attribution{font-size:10px}.tm .leaflet-control-zoom a{color:#222}.tm #tm-build{width:100%}.tm #tm-save{min-width:160px}@media(max-width:760px){.tm{padding:24px 16px 50px}.tm-work,.tm-options{grid-template-columns:1fr}.tm-map{height:340px}.tm-view{height:380px}.tm-location input{width:170px}.tm h1{letter-spacing:-1px}}
/* A guided map-to-object workspace. */
.tm{max-width:1260px;padding-top:24px}.tm-heading h1{font-size:clamp(30px,3vw,42px);margin:16px 0 8px}.tm-heading .tm-intro{margin-bottom:22px}.tm-steps{display:flex;gap:24px;margin-bottom:22px;border-bottom:1px solid #e4e5e2}.tm-steps button{border:0;border-radius:0;background:none;padding:12px 0;color:#777;font-size:14px}.tm-steps button[aria-current=step]{color:#222;border-bottom:2px solid #222}.tm [hidden]{display:none!important}.tm-work{display:block}.tm-place-bar{display:flex;align-items:center;justify-content:space-between;gap:12px}.tm-place-bar p{font-size:14px}.tm-map-wrap{position:relative;overflow:hidden;border-radius:14px}.tm-map{height:440px;border-radius:0}.tm-frame{position:absolute;inset:18% 20%;z-index:400;border:2px solid white;box-shadow:0 0 0 1000px #16201c45;pointer-events:none;border-radius:3px}.tm-map-tip{position:absolute;z-index:401;left:50%;bottom:26px;transform:translateX(-50%);background:white;padding:10px 16px;border-radius:30px;font-size:13px;white-space:nowrap;pointer-events:none}.tm-map-bottom{display:flex;justify-content:space-between;align-items:center;padding:16px 0;gap:20px}.tm-map-bottom p{font-size:14px;margin:0;color:#666}.tm #tm-build{width:auto;min-width:210px;font-size:15px}.tm-advanced{margin:0}.tm-location{margin:16px 0}.tm-preview-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.tm-preview-heading h2{margin:0}.tm-view{height:500px}.tm-options{grid-template-columns:1fr;margin:0;gap:18px}.tm-style-intro p{font-size:14px;color:#666;line-height:1.6}.tm fieldset{border:0;border-bottom:1px solid #e4e5e2;border-radius:0;padding:0 0 22px}.tm legend{padding:0;margin-bottom:16px;font-size:15px}.tm legend small{font-size:12px;color:#777;margin-left:6px}.tm fieldset label{font-size:14px}.tm-style-buttons{display:flex;gap:8px}.tm-style-buttons button{flex:1;padding:8px;font-size:13px;background:white;color:#333}.tm-style-buttons button[aria-pressed=true]{border:2px solid #333;background:#f4f5f2;color:#222;padding:7px}.tm-style-sample{display:block;height:54px;border-radius:5px;margin-bottom:8px;background:#c5c8bc}.tm-style-sample.relief{background:linear-gradient(145deg,#eee 15%,#a6b09d 16%,#e1e5da 48%,#98a48e 49%,#d5dacd 80%)}.tm-style-sample.contour{background:repeating-radial-gradient(ellipse at bottom left,#dedfce 0 7px,#a3ae94 8px 10px)}.tm-style-sample.altitude{background:linear-gradient(150deg,#658862,#96a375,#c4ba8e,#eee4c7)}.tm[data-step=place] #tm-preview-panel,.tm[data-step=place] #tm-customize,.tm[data-step=place] #tm-save{display:none}.tm[data-step=style]{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:0 32px}.tm[data-step=style] .tm-heading,.tm[data-step=style] .tm-steps{grid-column:1/-1}.tm[data-step=style] #tm-map-panel{display:none}.tm[data-step=style] #tm-save{grid-column:2;margin:16px 0;background:#303b32;color:white}.tm[data-step=style]>.tm-small,.tm[data-step=style]>details{grid-column:1/-1}.tm #tm-save{font-size:14px}.tm-route-tools{margin:14px 0}.tm-route-tools p{font-size:14px}.tm:has(.tm-route-tools:not([hidden])) .tm-place-bar,.tm:has(.tm-route-tools:not([hidden])) .tm-map-tip,.tm:has(.tm-route-tools:not([hidden])) .tm-map-bottom,.tm:has(.tm-route-tools:not([hidden])) .tm-advanced{display:none}
@media(max-width:760px){.tm{padding:20px 16px 40px}.tm-place-bar{display:block}.tm-map{height:390px}.tm-map-bottom{align-items:stretch;flex-direction:column;gap:12px}.tm #tm-build{width:100%}.tm[data-step=style]{display:block}.tm-view{height:330px}.tm-options{margin-top:24px}.tm-steps{gap:22px}.tm-steps button{font-size:13px}.tm-map-tip{font-size:12px;padding:9px 12px}.tm #tm-save{width:100%}.tm input{font-size:16px}}
.tm-search-block{margin:12px 0 20px}.tm-search-block label{display:block;margin-bottom:8px;font-size:14px}.tm-search-block form>div{display:flex;gap:8px}.tm-search-block input{flex:1;min-width:0;padding:12px 16px;border:1px solid #bbb;border-radius:9px;font-size:16px}.tm-search-block p{font-size:13px;color:#666}.tm #tm-results button{display:block;width:100%;text-align:left;margin:4px 0}.tm-toolbar #tm-shape{width:auto}.tm-toolbar label{align-self:center;font-size:14px}.tm-frame[data-shape=square],.tm-frame[data-shape=circle],.tm-frame[data-shape=hexagon]{inset:auto;left:50%;top:50%;width:min(64%,280px);height:280px;transform:translate(-50%,-50%)}.tm-frame[data-shape=circle]{border-radius:50%}.tm-frame[data-shape=hexagon]{clip-path:polygon(100% 50%,75% 93.301%,25% 93.301%,0 50%,25% 6.699%,75% 6.699%);background:#ffffff25;box-shadow:none;border:0}.tm-route-tools #tm-travel{width:auto}.tm:has(.tm-route-tools:not([hidden])) .tm-search-block{display:none}#tm-city-dialog{width:min(1200px,96vw);max-height:94vh;border:0;border-radius:16px;padding:20px;font-family:Sora,Arial,sans-serif}#tm-city-dialog::backdrop{background:#0009}.tm-city-bar{display:flex;justify-content:space-between;align-items:center}.tm-city-bar h2{font-size:22px}#tm-city{height:58vh;min-height:300px;border-radius:10px;overflow:hidden}#tm-city-dialog button{padding:10px 15px;border:1px solid #ccc;border-radius:7px;background:white;cursor:pointer}#tm-city-dialog .tm-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0}#tm-city-dialog p{font-size:13px;line-height:1.6}#tm-city-dialog input[type=color]{width:32px;height:28px;vertical-align:middle}@media(max-width:500px){.tm-frame[data-shape=square],.tm-frame[data-shape=circle],.tm-frame[data-shape=hexagon]{width:230px;height:230px}#tm-city-dialog{padding:12px}.tm-city-bar h2{font-size:18px}}
.tm-frame[data-shape=square],.tm-frame[data-shape=circle],.tm-frame[data-shape=hexagon]{width:min(80%,280px);height:auto;aspect-ratio:1}
#tm-city-dialog .maplibregl-ctrl-group button{padding:0;border:0;border-radius:0;background-color:#fff}#tm-city-dialog .maplibregl-ctrl-zoom-in:after{content:'+';font-size:24px;position:absolute;inset:0;line-height:29px}#tm-city-dialog .maplibregl-ctrl-zoom-out:after{content:'−';font-size:24px;position:absolute;inset:0;line-height:29px}#tm-city-dialog .maplibregl-ctrl-group button{position:relative}#tm-city-dialog .maplibregl-ctrl-compass:after{content:'N';position:absolute;inset:0;line-height:29px;font-size:13px}
.tm-heading{display:grid;grid-template-columns:1fr auto;align-items:center}.tm-heading .tm-back{grid-column:1/-1}.tm-heading h1{font-size:30px}.tm-heading .tm-intro{margin:12px 0 0;font-size:13px}.tm-steps{scroll-margin-top:18px}.tm-search-block:has(form[hidden]){margin:0 0 12px}.tm-availability{font-size:12px!important;color:#737773!important}.tm-place-bar{margin-top:10px}.tm-map{height:400px}.tm-view{height:430px}.tm-map-bottom{position:sticky;bottom:0;z-index:500;background:#fff;padding:14px 0}.tm button:disabled{cursor:default}.tm #tm-build:disabled{cursor:progress}.tm #tm-build{min-width:220px}.tm #tm-map-panel[aria-busy=true] .tm-frame{border-color:#446d4c}.tm #tm-map-panel[aria-busy=true] .tm-map-tip{background:#303b32;color:white}.tm #tm-map-panel[aria-busy=true] .tm-map-tip:after{content:' · Building preview'}.tm #tm-save{margin-top:12px}.tm-style-intro{display:none}#tm-city-dialog .maplibregl-ctrl-group button{min-width:34px;min-height:34px}.tm[data-step=style] .tm-work{position:sticky;top:16px;align-self:start}@media(max-width:760px){.tm-heading{display:block}.tm-heading h1{font-size:28px}.tm-heading .tm-intro{margin:0 0 18px}.tm-map{height:330px}.tm-view{height:300px}.tm[data-step=style] .tm-work{position:static}.tm-map-bottom{gap:8px}.tm-map-bottom p{font-size:12px}.tm-options{margin-top:12px}.tm #tm-build{min-height:48px}.tm-search-block input{font-size:16px}}
.tm{max-width:1280px;padding-top:26px}
.tm-heading{display:block;position:relative}
.tm-heading .tm-back{display:inline-flex;align-items:center;min-height:34px;color:#6f746f;text-decoration:none}
.tm-heading h1{font-size:clamp(34px,3.5vw,48px);font-weight:650;letter-spacing:-1.9px;line-height:1.05;margin:8px 0 10px}
.tm-heading .tm-intro{font-size:15px;line-height:1.45;margin:0 0 24px}
.tm-steps{gap:28px;margin-bottom:18px}
.tm-steps button{font-size:13px;font-weight:550;padding:10px 0}
.tm-search-block{margin:0 0 10px}
.tm-search-block:has(form[hidden]){margin:0 0 12px}
.tm-availability{margin:0;font-size:13px!important;color:#747774!important}
.tm-place-bar{margin:16px 0 10px}
.tm-place-bar p{font-size:13px;font-weight:600;margin:0}
.tm-place-bar .tm-toolbar{margin:0}
.tm-place-bar button{min-height:36px;padding:7px 12px;border-radius:18px}
.tm-map-wrap{border-radius:12px;border:1px solid #d8ddd6}
.tm-map{height:min(53vh,480px);min-height:350px}
.tm-frame{box-shadow:0 0 0 1000px rgba(14,27,19,.2);border:2px solid #fff;outline:1px solid rgba(21,45,31,.6);outline-offset:-5px}
.tm-map-tip{bottom:16px;padding:7px 12px;font-size:12px;box-shadow:0 3px 14px #0002}
.tm-map-bottom{padding:12px 0 18px}
.tm-map-bottom p{font-size:13px}
.tm #tm-build{min-height:48px;border-radius:9px;font-weight:600}
.tm[data-step=style]{grid-template-columns:minmax(0,1.45fr) minmax(300px,.85fr);gap:0 30px}
.tm[data-step=style] .tm-work{position:sticky;top:12px}
.tm-preview-heading h2{font-size:17px;font-weight:650}
.tm-view{height:min(62vh,540px);min-height:390px;background:#eeede8}
.tm-style-buttons button{border-radius:8px}
.tm-style-sample{height:62px}
@media(max-width:760px){.tm{padding:18px 18px 42px}.tm-heading h1{font-size:32px}.tm-heading .tm-intro{font-size:14px;margin-bottom:18px}.tm-steps{margin-bottom:16px}.tm-place-bar{margin:12px 0}.tm-place-bar p{margin-bottom:8px}.tm-place-bar .tm-toolbar{display:flex;flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.tm-place-bar button{flex:none}.tm-map{height:min(52vh,430px);min-height:320px}.tm-map-tip{font-size:11px;white-space:normal;width:max-content;max-width:85%;text-align:center}.tm-map-bottom{position:sticky;bottom:0;background:#fff;padding:10px 0 14px}.tm-map-bottom p{font-size:12px}.tm[data-step=style]{display:block}.tm[data-step=style] .tm-work{position:static}.tm-view{height:370px;min-height:0}.tm-style-sample{height:48px}}
.tm #tm-map-panel>.tm-toolbar{display:flex;align-items:center;gap:10px;margin:8px 0 12px}.tm #tm-map-panel>.tm-toolbar label{font-size:12px;line-height:1.2;color:#666}.tm #tm-map-panel>.tm-toolbar #tm-shape{min-width:122px}
.tm #tm-map-panel>.tm-toolbar #tm-map-style{min-width:125px}.tm #tm-map-panel>.tm-toolbar select{width:auto;max-width:45%}@media(max-width:760px){.tm #tm-map-panel>.tm-toolbar{display:grid;grid-template-columns:auto 1fr;gap:7px 10px}.tm #tm-map-panel>.tm-toolbar select{width:100%;max-width:none}}
#tm-feature-map{position:absolute!important;left:-10000px;top:0;width:1200px;height:900px;pointer-events:none}.tm-detail-controls>.tm-small{margin:0 0 12px}.tm-detail-list{display:grid;gap:7px}.tm-detail-list label{display:flex!important;align-items:center;gap:10px;min-height:44px;margin:0!important;padding:6px 10px;border:1px solid #e1e4dd;border-radius:8px;font-size:13px!important}.tm-detail-list input[type=checkbox]{width:18px;height:18px;accent-color:#303b32}.tm-detail-list input[type=color]{margin-left:auto;width:32px;height:32px;padding:0;border:0;background:none;cursor:pointer}.tm-detail-controls #tm-detail-status{margin:10px 0 0}
.tm-download-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 8px}.tm-download-actions button{min-height:48px;border-radius:9px;padding:10px 17px;font-weight:600}.tm #tm-download{background:#25372c;color:#fff;border:1px solid #25372c}.tm #tm-download:disabled{opacity:.45;cursor:not-allowed}.tm #tm-save{background:#fff;color:#25372c;border:1px solid #cbd2cb}.tm-options fieldset>input[type=range]{width:100%;accent-color:#375a43}.tm-options fieldset>label[for^=tm-]{display:flex;justify-content:space-between;gap:10px;margin-top:14px;font-size:13px}.tm-options output{font-variant-numeric:tabular-nums;color:#4b6452}
