#rd-measure-preferences[hidden], #rd-measure-panel[hidden] { display: none !important; }
#rd-measure-preferences { color: #172636; background: #f6f8fa; padding: .65rem max(1rem, 4vw); font: 1rem/1.45 system-ui, sans-serif; }
#rd-measure-preferences button { font: inherit; color: #12324b; background: #fff; border: 1px solid #567084; border-radius: .3rem; padding: .55rem .85rem; cursor: pointer; }
#rd-measure-preferences button:focus-visible { outline: 3px solid #1671ac; outline-offset: 2px; }
#rd-measure-panel { position: fixed; z-index: 10000; left: 1rem; bottom: 1rem; width: min(27rem, calc(100% - 2rem)); max-height: 65vh; overflow: auto; box-sizing: border-box; padding: 1rem; border: 1px solid #b6c0c8; border-radius: .45rem; background: #fff; box-shadow: 0 3px 18px #17263630; }
#rd-measure-panel p { margin: .5rem 0 .85rem; }
#rd-measure-panel a { color: #123f61; text-decoration: underline; }
#rd-measure-status { display: block; margin-top: .5rem; }
@media print { #rd-measure-preferences { display: none; } }
