.tmg-measurement-entry{color:inherit;font:inherit;text-decoration:underline;cursor:pointer}
.tmg-measurement-entry:focus-visible,#tmg-measurement-settings button:focus-visible,#tmg-measurement-settings a:focus-visible{outline:3px solid #8e6a0d;outline-offset:3px}
/* Isolate the consent window from the Match page's generic bottom-sheet theme. */
#tmg-measurement-settings{box-sizing:border-box;position:fixed;inset:0;width:min(94vw,640px);max-width:calc(100vw - 24px);height:fit-content;min-height:0;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));margin:auto;padding:1.25rem;border:1px solid #9d7e32;border-radius:12px;background:#fff;color:#172432;color-scheme:light;font:normal 1rem/1.65 system-ui,sans-serif;overflow-y:auto;overflow-wrap:anywhere;overscroll-behavior:contain;text-align:start;z-index:2147483646}
#tmg-measurement-settings[hidden]{display:none}
#tmg-measurement-settings::backdrop{background:rgba(11,23,37,.55)}
#tmg-measurement-settings .tmg-measurement-header{display:flex;align-items:start;gap:.75rem;justify-content:space-between}
#tmg-measurement-settings .tmg-measurement-header h2{margin:0;font-size:1.2rem;line-height:1.5;color:#172432}
#tmg-measurement-settings p{margin:.85rem 0;color:#172432;font-size:1rem;line-height:1.65}
#tmg-measurement-settings button{box-sizing:border-box;min-height:44px;padding:.6rem .8rem;border:1px solid #566477;border-radius:7px;background:#fff;color:#172432;font:inherit;font-size:1rem;line-height:1.4;cursor:pointer;white-space:normal}
#tmg-measurement-settings .tmg-measurement-header button{min-width:44px;font-size:1.4rem;padding:.25rem .6rem;flex:none}
#tmg-measurement-settings button:disabled{opacity:.6;cursor:default}
#tmg-measurement-settings .tmg-measurement-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin:1rem 0}
#tmg-measurement-settings [data-measurement-status]{border-left:3px solid #9d7e32;padding:.65rem;background:#f3f5f7}
#tmg-measurement-settings .tmg-measurement-privacy{color:#174f91;text-decoration:underline;font-size:1rem}
@media(max-width:480px){#tmg-measurement-settings{padding:1rem}#tmg-measurement-settings .tmg-measurement-actions button{width:100%}}
