#thematic-measurement { color: #17212d; text-align: center; font: 14px/1.4 system-ui, sans-serif; }
#thematic-measurement [hidden] { display: none !important; }
#thematic-measurement .tm-settings { position: fixed; z-index: 9990; inset: auto 12px 12px; width: min(440px, calc(100vw - 24px)); box-sizing: border-box; margin: auto; background: white; color: #17212d; border: 1px solid #64748b; border-radius: 8px; padding: 12px; box-shadow: 0 3px 16px #0003; }
#thematic-measurement p { color: inherit; margin: 0 0 8px; font: inherit; }
#thematic-measurement button { appearance: none; min-height: 40px; cursor: pointer; font: inherit; color: #17212d; background: white; border: 1px solid #64748b; border-radius: 4px; padding: 6px 12px; margin: 2px 4px; }
#thematic-measurement button:focus-visible { outline: 3px solid #075cba; }
#thematic-measurement .tm-reopen { font-size: 12px; }
