.tkcm-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--tk-space-2);border:1px solid #dce5e7;border-radius:var(--tk-radius-control);padding:10px 14px;background:#fff;color:var(--tk-primary);font-family:inherit;font-size:14px;line-height:1.4;font-weight:600;cursor:pointer;text-decoration:none}.tkcm-button svg{flex-shrink:0}.tkcm-button:hover,.tkcm-button:focus-visible{border-color:var(--tk-primary)}.tkcm-button.is-active{background:var(--tk-primary);color:#fff;border-color:var(--tk-primary)}.tkcm-button:disabled{opacity:.55;cursor:default}.tkcm-actions,.tkcm-map-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0}.tkcm-progress-status,.tkcm-map-tools>[role=status]{font-size:13px;color:var(--tk-text)}.tkcm-highlight{box-shadow:0 0 0 3px #00688740!important}#tk-reviews{scroll-margin-top:100px}.tkcm-dialog{width:min(520px,calc(100% - 24px));max-height:90dvh;overflow:auto;border:1px solid #dce5e7;border-radius:var(--tk-radius-card);padding:var(--tk-space-6);color:var(--tk-text);background:#fff}.tkcm-dialog::backdrop{background:#18363b80}.tkcm-heading{display:flex;justify-content:space-between;align-items:center;gap:var(--tk-space-4)}.tkcm-heading h2{font-size:24px;margin:0}.tkcm-dialog fieldset{border:0;padding:0;margin:20px 0}.tkcm-dialog legend,.tkcm-dialog label{font-weight:650;font-size:14px;margin:12px 0 8px;display:block}.tkcm-types{display:grid;grid-template-columns:1fr 1fr;gap:var(--tk-space-2)}.tkcm-types button{text-align:left;justify-content:flex-start}.tkcm-dialog textarea{display:block;width:100%;border:1px solid #dce5e7;border-radius:var(--tk-radius-control);padding:var(--tk-space-3);margin-bottom:14px;font:inherit;color:inherit}.tkcm-dialog textarea[aria-invalid=true]{border-color:#a86459}.tkcm-dialog [type=submit]{display:flex;width:100%;margin-top:20px}.tkcm-dialog [hidden],.tkcm-comment-photo [hidden]{display:none!important}#tkcm-pick-map{height:210px;border-radius:var(--tk-radius-control);overflow:hidden}.tkcm-dialog [data-tkcm-file]{display:block;font-size:12px;margin-top:6px;overflow-wrap:anywhere}.tkcm-preview{display:block;width:100px;height:80px;object-fit:cover;border-radius:var(--tk-radius-control);margin:12px 0}.tkcm-map-popup{max-width:280px;font:14px/1.5 system-ui,sans-serif;color:var(--tk-text)}.tkcm-map-popup h3{font-size:17px;margin:0 0 6px}.tkcm-map-popup img{max-width:100%;max-height:140px;object-fit:cover;border-radius:var(--tk-radius-sm)}.tkcm-map-popup .tkcm-button{font-size:12px;padding:var(--tk-space-2)}.tkcm-profile{background:#fff;border:1px solid #e2e8e7;padding:var(--tk-space-6);border-radius:var(--tk-radius-card)}.tkcm-stats{display:flex;flex-wrap:wrap;gap:var(--tk-space-6);background:#e8f3f4;padding:20px;border-radius:var(--tk-radius-md);margin:24px 0}.tkcm-stats strong{display:block;font-size:24px;color:var(--tk-primary)}.tkcm-columns{display:grid;grid-template-columns:1fr 1fr;gap:var(--tk-space-6)}.tkcm-columns>div{border:1px solid #e2e8e7;border-radius:var(--tk-radius-md);padding:var(--tk-space-4)}.tkcm-columns h3{display:flex;align-items:center;gap:var(--tk-space-2);color:var(--tk-primary)}.tkcm-tour-card{display:flex;align-items:center;gap:var(--tk-space-3);border:1px solid #e2e8e7;border-radius:var(--tk-radius-control);padding:var(--tk-space-3);margin:12px 0;color:var(--tk-text);text-decoration:none}.tkcm-tour-card>svg{color:var(--tk-primary);flex-shrink:0}.tkcm-tour-card img{width:48px;height:48px;object-fit:cover;border-radius:var(--tk-radius-sm)}.tkcm-comment-photo{margin:14px 0}.tkcm-comment-image img{max-width:100%;height:auto;border-radius:var(--tk-radius-control)}@media(max-width:700px){.tkcm-columns{grid-template-columns:1fr}.tkcm-profile,.tkcm-dialog{padding:18px}.tkcm-map-tools .tkcm-button{flex-grow:1}.tkcm-types .tkcm-button{font-size:12px;padding:10px}}
/* Align community controls with the existing tour and profile typography. */
.tk-tour .tkcm-meta-row{justify-content:space-between;align-items:center;gap:var(--tk-space-3) 20px}
.tkcm-meta-details{display:flex;flex-wrap:wrap;align-items:center;gap:var(--tk-space-3) 20px;min-width:0}
.tk-tour .tkcm-meta-row .tkcm-actions{margin:0 0 0 auto;flex-shrink:0;gap:var(--tk-space-2)}
.tk-tour .tkcm-meta-row .tkcm-button{font-size:12px;font-weight:500;line-height:1.5;padding:var(--tk-space-2) var(--tk-space-3);border-radius:var(--tk-radius-control);letter-spacing:-.15px}
.tk-tour .tkcm-meta-row .tkcm-button svg{width:18px;height:18px}
.tkcm-progress-status,.tkcm-map-tools>[data-tkcm-map-status]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.tk-tour #tk-route>.tt-section-head{align-items:center;flex-wrap:wrap;gap:var(--tk-space-3) 20px}
.tk-tour #tk-route .tt-section-head p{margin-bottom:0}
.tk-tour #tk-route .tkcm-map-tools{margin:0 0 0 auto;justify-content:flex-end;gap:var(--tk-space-2)}
.tk-tour #tk-route .tkcm-map-tools .tkcm-button{background:var(--tt-soft);color:var(--tt-muted);border-color:var(--tt-border);font-size:12px;font-weight:500;line-height:1.5;padding:9px var(--tk-space-3);border-radius:var(--tk-radius-control)}
.tk-tour #tk-route .tkcm-map-tools .tkcm-button.is-active{background:color-mix(in srgb,var(--tt-accent) 10%,var(--tt-card));color:var(--tt-accent);border-color:color-mix(in srgb,var(--tt-accent) 25%,var(--tt-border))}
.tk-tour #tk-route .tkcm-map-tools .tkcm-button:hover{background:var(--tt-accent);color:#fff;border-color:var(--tt-accent)}
.tk-tour #tk-route .tkcm-map-tools svg{width:18px;height:18px}
.tkcm-dialog{width:min(780px,calc(100% - 32px));padding:28px;font-family:inherit}
.tkcm-types{grid-template-columns:repeat(3,minmax(0,1fr))}
.tkcm-types .tkcm-button{min-width:0;font-size:13px;font-weight:500;padding:var(--tk-space-3);line-height:1.5}
#tkcm-pick-map{height:320px}
.tk-collection .tkcm-profile{font-family:inherit;color:var(--tk-page-ink,#21303c);background:var(--tk-page-surface,#fff);border-color:var(--tk-page-line,#dce6ed);font-size:14px;line-height:1.7}
.tk-collection .tkcm-profile>h2{font-family:inherit;color:var(--tk-page-ink,#21303c);font-size:24px;font-weight:600;line-height:1.3;margin:0 0 20px;letter-spacing:-.4px}
.tk-collection .tkcm-profile .tkcm-columns h3{font-family:inherit;color:var(--tk-page-accent,var(--tk-primary));font-size:17px;font-weight:600;line-height:1.5;margin:0 0 12px}
.tk-collection .tkcm-profile .tkcm-columns h3 svg{width:20px;height:20px}
.tk-collection .tkcm-stats{font-size:12px;line-height:1.6;gap:18px 30px;padding:18px;margin:20px 0;color:var(--tk-page-muted,#657286)}
.tk-collection .tkcm-stats strong{font-family:inherit;font-size:20px;font-weight:600;line-height:1.4;margin-bottom:5px;color:var(--tk-page-accent,var(--tk-primary))}
.tk-collection .tkcm-profile .tkcm-tour-card{font-family:inherit;font-size:13px;line-height:1.6;color:var(--tk-page-ink,#21303c);border-color:var(--tk-page-line,#dce6ed);transition:transform var(--tk-duration-fast) ease,box-shadow var(--tk-duration-fast) ease,background var(--tk-duration-fast) ease,border-color var(--tk-duration-fast) ease}
.tk-collection .tkcm-profile .tkcm-tour-card strong{font-family:inherit;font-size:inherit;line-height:inherit;font-weight:500;color:inherit}
.tk-collection .tkcm-profile .tkcm-tour-card span{min-width:0;overflow-wrap:anywhere}
.tk-collection .tkcm-profile .tkcm-tour-card:hover,.tk-collection .tkcm-profile .tkcm-tour-card:focus-visible{transform:translateY(-3px);background:color-mix(in srgb,var(--tk-page-accent,var(--tk-primary)) 5%,var(--tk-page-surface,#fff));border-color:#8ab6c2;box-shadow:0 6px 16px #00688712}
.tk-collection .tkcm-profile .tkcm-columns>div{border-color:var(--tk-page-line,#dce6ed)}
@media(max-width:700px){.tkcm-dialog{width:calc(100% - 24px);padding:18px}.tkcm-types{grid-template-columns:repeat(2,minmax(0,1fr))}#tkcm-pick-map{height:280px}.tk-tour .tkcm-meta-row .tkcm-actions{margin-left:0}.tk-tour #tk-route .tkcm-map-tools{margin-left:0;justify-content:flex-start}.tkcm-meta-details{gap:var(--tk-space-2) 14px}.tk-collection .tkcm-profile>h2{font-size:22px}}
@media(max-width:360px){.tkcm-types{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.tk-collection .tkcm-profile .tkcm-tour-card{transition:none}.tk-collection .tkcm-profile .tkcm-tour-card:hover,.tk-collection .tkcm-profile .tkcm-tour-card:focus-visible{transform:none}}
/* Failures stay visible; routine confirmations are announced without adding a row. */
.tkcm-progress-status.is-error,.tkcm-map-tools>[data-tkcm-map-status].is-error{position:static;width:auto;height:auto;clip-path:none;white-space:normal;margin:0;padding:0;overflow:visible;flex-basis:100%;font-size:12px;color:#a86459}
/* Isolate route-report InfoWindows from the legacy transparent map-card rules. */
.tk-tour #map_canvas .gm-style-iw-c:has(.tkcm-map-popup){background:var(--tt-card,#fff)!important;color:var(--tt-text,#202e3a)!important;padding:0!important;border:1px solid var(--tt-border,#dce5eb)!important;border-radius:var(--tk-radius-md)!important;box-shadow:0 8px 28px #18363b26!important;top:0!important;margin:0!important;max-width:calc(100vw - 48px)!important}
.tk-tour #map_canvas .gm-style-iw-c:has(.tkcm-map-popup) .gm-style-iw-chr{display:none!important}
.tk-tour #map_canvas .gm-style-iw-c:has(.tkcm-map-popup) .gm-style-iw-d{padding:0!important;overflow:auto!important;max-width:100%!important;scrollbar-width:thin}
.tk-tour #map_canvas .gm-style-iw-t:has(.tkcm-map-popup)::after,.tk-tour #map_canvas .gm-style-iw-t:has(.tkcm-map-popup) .gm-style-iw-tc::after{background:var(--tt-card,#fff)!important}
.tk-tour #map_canvas .tkcm-map-popup{box-sizing:border-box;width:320px;max-width:calc(100vw - 64px);padding:18px;background:var(--tt-card,#fff);color:var(--tt-muted,var(--tk-text));font-family:Poppins,sans-serif;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.tk-tour #map_canvas .tkcm-popup-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--tk-space-3);margin:0 0 10px;padding:0}
.tk-tour #map_canvas .tkcm-popup-heading h3{margin:0;padding:0;color:var(--tt-text,#202e3a);font-family:inherit;font-size:16px;font-weight:600;line-height:1.4}
.tk-tour #map_canvas .tkcm-popup-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;padding:var(--tk-space-1);margin:0;border:0;border-radius:var(--tk-radius-sm);background:var(--tt-soft,var(--tk-surface-alt));color:var(--tt-muted,var(--tk-text));cursor:pointer;box-shadow:none}
.tk-tour #map_canvas .tkcm-popup-close:hover{background:var(--tt-accent,var(--tk-primary));color:#fff}
.tk-tour #map_canvas .tkcm-popup-close svg{width:18px;height:18px}
.tk-tour #map_canvas .tkcm-popup-meta{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin:0 0 12px}
.tk-tour #map_canvas .tkcm-popup-meta small{font-size:11px;font-weight:400;line-height:1.6;color:var(--tt-muted,#687789)}
.tk-tour #map_canvas .tkcm-popup-freshness{padding:3px var(--tk-space-2);border-radius:6px;background:var(--tt-soft,var(--tk-surface-alt));color:var(--tt-muted,#687789);font-size:10px;font-weight:500;line-height:1.5}
.tk-tour #map_canvas .tkcm-popup-freshness[data-fresh="Friss"]{background:#edf5ef;color:#477653}
.tk-tour #map_canvas .tkcm-popup-freshness[data-fresh="Régebbi"]{background:#f6eee1;color:#8b7047}
.tk-tour #map_canvas .tkcm-map-popup>p{margin:0 0 12px;padding:0;font-size:12px;line-height:1.7}
.tk-tour #map_canvas .tkcm-map-popup>img{display:block;width:100%;max-height:150px;object-fit:cover;border-radius:var(--tk-radius-control);margin:0 0 12px}
.tk-tour #map_canvas .tkcm-map-popup>.tkcm-popup-count{margin:0 0 12px;font-size:11px;color:var(--tt-muted,#687789)}
.tk-tour #map_canvas .tkcm-popup-actions{display:grid;grid-template-columns:1fr;gap:var(--tk-space-2);padding-top:var(--tk-space-3);margin:0;border-top:1px solid var(--tt-border,#dce5eb)}
.tk-tour #map_canvas .tkcm-popup-actions .tkcm-button{display:flex;justify-content:flex-start;gap:var(--tk-space-2);width:100%;min-height:36px;padding:var(--tk-space-2) 10px;margin:0;border:1px solid var(--tt-border,#dce5eb);border-radius:var(--tk-radius-sm);background:var(--tt-soft,var(--tk-surface-alt));color:var(--tt-accent,var(--tk-primary));font-family:inherit;font-size:12px;font-weight:500;line-height:1.5;white-space:normal;box-shadow:none}
.tk-tour #map_canvas .tkcm-popup-actions .tkcm-button:hover:not(:disabled){background:var(--tt-accent,var(--tk-primary));color:#fff;border-color:var(--tt-accent,var(--tk-primary))}
.tk-tour #map_canvas .tkcm-popup-actions .tkcm-button svg{width:17px;height:17px}
.tk-tour #map_canvas .tkcm-map-popup>.tkcm-popup-notice{margin:10px 0 0;font-size:11px;color:#a86459}
.tk-tour #map_canvas .tkcm-popup-notice:empty{display:none}
.tk-tour #map_canvas .tkcm-map-popup button:focus-visible{outline:2px solid var(--tt-accent,var(--tk-primary));outline-offset:3px}
@media(max-width:480px){.tk-tour #map_canvas .tkcm-map-popup{width:280px;padding:var(--tk-space-4)}}
.tkcm-osm-credit{display:block;padding:2px 6px;background:#fff;color:var(--tk-text);font:10px/1.5 system-ui,sans-serif;text-decoration:none}
.tkcm-osm-credit:hover{text-decoration:underline}
/* Flat category colors shared with the SVG map markers. */
.tkcm-dialog .tkcm-types .tkcm-button[data-tkcm-type]{background:var(--tkcm-type-bg);color:var(--tkcm-type-fg);border-color:var(--tkcm-type-bg);box-shadow:none;position:relative;padding-right:var(--tk-space-6);transition:filter .15s ease}
.tkcm-dialog .tkcm-types .tkcm-button[data-tkcm-type]:hover{background:var(--tkcm-type-bg);color:var(--tkcm-type-fg);filter:brightness(.95)}
.tkcm-dialog .tkcm-types .tkcm-button[data-tkcm-type].is-active{background:var(--tkcm-type-bg);color:var(--tkcm-type-fg);border-color:var(--tkcm-type-bg);outline:2px solid var(--tt-text,#202e3a);outline-offset:2px}
.tkcm-dialog .tkcm-types .tkcm-button[data-tkcm-type].is-active::after{content:'';position:absolute;right:10px;top:50%;width:6px;height:6px;border-radius:50%;background:currentColor;transform:translateY(-50%)}
.tkcm-dialog .tkcm-types .tkcm-button[data-tkcm-type]:focus-visible{outline:3px solid var(--tt-text,#202e3a);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.tkcm-dialog .tkcm-types .tkcm-button[data-tkcm-type]{transition:none}}
