.measurement-preferences{position:fixed;z-index:60;inset:auto auto 16px 16px;width:min(360px,calc(100% - 32px));padding:16px;background:#fff;color:#0b0f1f;border:1px solid #dfe5f1;border-radius:14px;box-shadow:0 12px 40px #0b0f1f38;font-size:14px}
.measurement-preferences[hidden]{display:none}
.measurement-preferences h2{margin:0 0 4px;font-size:17px;font-weight:700}
.measurement-preferences p{margin:0 0 12px}
.measurement-preferences a,.measurement-preferences summary,.measurement-open{text-decoration:underline}
.measurement-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.measurement-preferences button{border:1px solid #012cf8;border-radius:8px;padding:8px 10px;color:#012cf8;font-weight:700}
.measurement-preferences details label{display:block;margin:8px 0}
.measurement-preferences summary{cursor:pointer}
.measurement-open{display:block;margin:0 auto;padding:10px 16px;font-size:13px;color:#525c78}
