.tour-map-card{margin:18px 0;padding:22px;background:#fff;border:1px solid #dce5ef;border-radius:20px;box-shadow:0 8px 26px #19355b06}
.tm-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.tm-heading h2{margin:0 0 7px}.tm-heading p{margin:0;color:#5b6d84;max-width:770px;line-height:1.55}
.tm-toolbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:18px 0 10px}.tm-selector{flex:1;min-width:210px}.tm-selector label{margin-top:0}.tm-toolbar .button{min-height:44px}.tm-toolbar select{margin:0}
.tm-legend{display:flex;gap:14px;flex-wrap:wrap;align-items:center;font-size:13px;margin:12px 0}.tm-legend span{display:flex;gap:7px;align-items:center}.tm-dot{display:inline-block;width:13px;height:13px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #bcc8d5}.tm-dot.done{background:#008768}.tm-dot.open{background:#60738b}.tm-dot.mixed{background:#bd7400}
.tm-meta{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;color:#5b6d84;font-size:13px;margin:12px 0}.tm-error{color:#a3291c!important;background:#fff2ec;border-radius:8px;padding:10px}.tm-status{font-size:14px;line-height:1.5;margin:10px 0}.tm-host{position:relative;overflow:hidden;isolation:isolate;height:430px;background:#eef2f5;border:1px solid #cedae6;border-radius:14px;touch-action:none;cursor:grab;user-select:none}.tm-host:active{cursor:grabbing}.tm-host:focus-visible{outline:3px solid #174ea6;outline-offset:3px}
.tm-host img{position:absolute;max-width:none;width:256px;height:256px;user-select:none}.tm-tiles,.tm-markers{position:absolute;inset:0;pointer-events:none}.tm-tiles{z-index:0}.tm-markers{z-index:2}.tm-controls{position:absolute;z-index:3;top:12px;left:12px;display:grid;box-shadow:0 2px 9px #0002;border-radius:8px;overflow:hidden}.tm-controls button{width:42px;height:42px;border:1px solid #d1dae4;background:white;font-size:24px;cursor:pointer;color:#19304c}.tm-attribution{position:absolute;z-index:3;bottom:0;right:0;background:#ffffffeb;padding:4px 8px;font-size:11px;color:#28425e}
.tm-point{position:absolute;pointer-events:auto;border:none;background:transparent;transform:translate(-50%,-50%);cursor:pointer;color:white;padding:0;display:flex;flex-direction:column;align-items:center;max-width:170px}.tm-point-dot{min-width:34px;height:34px;padding:0 6px;border:3px solid white;border-radius:50%;background:#60738b;box-shadow:0 2px 7px #0005;font-size:12px;font-weight:800;line-height:28px}.tm-point.done .tm-point-dot{background:#008768}.tm-point.mixed .tm-point-dot{background:#bd7400}.tm-point-time{white-space:nowrap;background:white;padding:2px 5px;border-radius:4px;font-size:11px;font-weight:700;color:#1d3552;box-shadow:0 1px 4px #0003}.tm-point:focus-visible{outline:3px solid #19304c;outline-offset:2px;border-radius:5px}
.tm-popup{padding:18px;background:#f5f9ff;border:1px solid #cedff4;border-radius:12px;margin:12px 0}.tm-popup-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.tm-popup h3{margin:0}.tm-popup article+article{border-top:1px solid #d3dfef;padding-top:14px;margin-top:14px}.tm-popup p{margin:5px 0;line-height:1.5}.tm-label{color:#576b84}.tm-small{font-size:12px;color:#637791;line-height:1.55}.tm-register{max-height:380px;overflow:auto;margin-top:10px}.tm-row{padding:12px 2px;border-bottom:1px solid #e7edf3;display:flex;justify-content:space-between;gap:14px;align-items:center}.tm-row strong{display:block}.tm-row small{display:block;margin-top:3px;color:#60738b}.tm-row .button{flex-shrink:0}.tm-choice{display:block;width:100%;text-align:left;margin:7px 0}.tm-dialog{width:min(580px,92vw);border:1px solid #d4e0ec;border-radius:20px;padding:24px;max-height:85vh;overflow:auto}.tm-dialog::backdrop{background:#10243970}.tm-dialog h2{margin-top:0}.tm-dialog input{width:100%}.tm-check{display:flex;align-items:center;gap:6px;margin:0;font-size:13px}.tm-check input{width:18px;height:18px;margin:0}.tm-placeholder{padding:35px 20px;border:1px dashed #b5c9dd;border-radius:14px;text-align:center;color:#576b84;background:#f7faff}.tm-instructions{margin:12px 0 0;font-size:12px;line-height:1.6;color:#657a94}
@media(max-width:640px){.tour-map-card{padding:14px;border-radius:15px}.tm-heading{display:block}.tm-host{height:330px}.tm-toolbar{gap:8px}.tm-toolbar .button{flex:1}.tm-selector{flex-basis:100%}.tm-row{align-items:flex-start;flex-direction:column;gap:7px}.tm-meta{font-size:12px}.tm-popup{padding:12px}}
