.th-tools{display:inline-flex!important;align-items:center!important;gap:8px!important;flex:0 0 auto;position:relative;margin-inline-start:8px;z-index:20;color:inherit;vertical-align:middle}.th-tools [hidden],.th-popover[hidden],.th-language-menu[hidden]{display:none!important}.th-btn{box-sizing:border-box;position:relative;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:40px;height:40px;border:1px solid #ffffff60;border-radius:9px;padding:6px 9px;background:#ffffff12;color:inherit;font:600 14px/1 system-ui;cursor:pointer}.th-btn:hover{background:#ffffff30}.th-btn svg{width:22px;height:22px;flex:none}.th-badge{position:absolute;top:-5px;right:-5px;background:#c1283e;color:white;border:2px solid #fff;border-radius:20px;min-width:19px;height:19px;box-sizing:content-box;font:700 11px/19px system-ui;text-align:center;padding:0 2px}.th-floating{position:fixed!important;top:12px;right:12px;color:#203b56;background:white;padding:6px;border-radius:12px;border:1px solid #cad8e7;z-index:10001}.th-popover,.th-language-menu{position:fixed;z-index:2147483000;box-sizing:border-box;width:min(430px,calc(100vw - 24px));color:#203b56;background:#fff;box-shadow:0 12px 42px #16324c40;border:1px solid #cddbe8;border-radius:14px;overflow:auto;font:15px/1.45 system-ui,sans-serif;text-align:left}.th-popover button,.th-language-menu button{font:inherit;cursor:pointer;color:inherit;background:transparent;border:0}.th-popover button:focus-visible,.th-language-menu button:focus-visible,.th-fix:focus-visible{outline:3px solid #2b83c5;outline-offset:2px}.th-pop-head,.th-summary,.th-pop-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px}.th-pop-head{border-bottom:1px solid #e2eaf2;font-size:19px}.th-pop-head button{font-size:25px;line-height:1;min-width:32px;min-height:32px}.th-summary{background:#edf3f8;margin:10px 12px;border-radius:9px;padding:10px 12px}.th-summary strong{color:#087f70}.th-summary button,.th-pop-foot button,.th-pop-foot a{font-size:13px;font-weight:600;color:#365d82;text-decoration:none}.th-list>p{padding:16px;color:#62758b}.th-message{border-bottom:1px solid #e3ebf3}.th-message-toggle{width:100%;display:flex;align-items:flex-start;text-align:left;gap:12px;padding:15px 16px}.th-message-toggle:hover,.th-unread{background:#f4f8fc}.th-message-main{display:grid;gap:5px;flex:1;min-width:0;overflow-wrap:anywhere}.th-message-main strong{font-size:15px}.th-message-main span,.th-message-main small{font-size:13px;color:#5d7289}.th-dot{width:10px;height:10px;border-radius:50%;flex:none;margin-top:6px}.th-red{background:#bf3949}.th-green{background:#087f70}.th-detail{padding:0 16px 16px 38px;overflow-wrap:anywhere}.th-detail p{margin:0 0 12px}.th-fix{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;background:#087f70;color:white!important;text-decoration:none!important;border-radius:7px;font-weight:600}.th-pop-foot{flex-wrap:wrap}.th-pop-foot button:disabled{opacity:.45;cursor:default}.th-language-menu{width:160px;padding:5px}.th-language-menu button{display:block;width:100%;text-align:left;padding:10px 12px;border-radius:7px}.th-language-menu button:hover,.th-language-menu button[aria-pressed=true]{background:#e8f1f7}.th-tools a{color:inherit}@media(max-width:600px){.th-tools{gap:4px;margin-inline-start:3px}.th-btn{min-width:34px;height:36px;padding:5px}.th-btn svg{width:19px;height:19px}.th-lang span{font-size:12px}.th-popover{right:12px!important}}

/* Multilingual layout: mirror reading order while keeping maps and numeric data LTR. */
.th-language-menu{width:190px}
.th-language-menu button{min-height:44px;text-align:start;font-size:16px}
html[lang="ka"] body{font-family:system-ui,"Noto Sans Georgian","DejaVu Sans",sans-serif}
html[lang="he"] body{font-family:system-ui,"Noto Sans Hebrew",Arial,sans-serif}
html[dir="rtl"] .th-popover,html[dir="rtl"] .th-message-toggle{text-align:start}
html[dir="rtl"] .th-detail{padding:0 38px 16px 16px}
html[dir="rtl"] .th-badge{right:auto;left:-5px}
html[dir="rtl"] .th-floating{right:auto;left:12px}
html[dir="rtl"] .maplibregl-map,html[dir="rtl"] .mapboxgl-map,html[dir="rtl"] .maptiler-map,html[dir="rtl"] .maplibregl-ctrl,html[dir="rtl"] input[type="number"],html[dir="rtl"] input[type="email"],html[dir="rtl"] input[type="tel"],html[dir="rtl"] input[type="url"]{direction:ltr}
html[dir="rtl"] input:not([type="number"]):not([type="email"]):not([type="tel"]):not([type="url"]),html[dir="rtl"] textarea{text-align:start}
html[dir="rtl"] .th-message-main{unicode-bidi:plaintext}

/* Uniform language menu: keep all four rows left-aligned even on RTL pages. */
.th-language-menu{direction:ltr;text-align:left}
.th-language-menu button[data-lang]{direction:ltr;text-align:left;white-space:nowrap;min-height:44px}

/* Main map header: brand and city left, account and tools together at the end. */
html[data-tesuro-page="index"] .topbar-inner{display:flex;justify-content:flex-start;align-items:center;gap:10px;flex-wrap:nowrap}
html[data-tesuro-page="index"] .brand-block{display:flex;flex-direction:row;align-items:center;gap:18px;flex:0 0 auto}
html[data-tesuro-page="index"] #authLink{margin-inline-start:auto!important;flex:0 1 auto;min-width:0;max-width:35vw;overflow:hidden;text-overflow:ellipsis;display:block;text-align:center;align-content:center}
html[data-tesuro-page="index"] .topbar-inner>.th-tools{margin-inline-start:0!important;flex:0 0 auto}
html[data-tesuro-page="index"] :is(#authLink,.th-btn){height:40px;min-height:40px}
@media(max-width:620px){html[data-tesuro-page="index"] .brand-block{flex-direction:column;align-items:flex-start;gap:3px}html[data-tesuro-page="index"] .topbar-inner{gap:6px}html[data-tesuro-page="index"] #authLink{padding-inline:8px;max-width:36vw;white-space:nowrap}html[data-tesuro-page="index"] .tesuro-logo-img{max-width:100px;height:auto}html[data-tesuro-page="index"] .th-btn{min-width:34px;padding-inline:5px}}
