.measurement-choice[hidden], .measurement-choice [hidden] { display: none !important; }
.measurement-choice {
  position: fixed; z-index: 300; bottom: 12px; left: 12px; right: 12px;
  box-sizing: border-box; max-width: 620px; margin: 0 auto; padding: 20px;
  max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain;
  background: #fffdf8; color: #30382f; border: 1px solid #a5ad9a;
  border-radius: 18px; box-shadow: 0 8px 40px #29362535;
  font: 15px/1.5 system-ui, sans-serif; text-align: left;
}
.measurement-choice h2 { margin: 0 0 10px; font: 600 20px/1.25 system-ui, sans-serif; }
.measurement-choice p { margin: 10px 0; font: inherit; color: inherit; }
.measurement-choice a { color: #345a35; text-decoration: underline; }
.measurement-choice summary { cursor: pointer; padding: 10px 0; font-weight: 600; }
.measurement-choice code { overflow-wrap: anywhere; }
.measurement-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.measurement-actions button {
  flex: 1; min-width: 130px; min-height: 46px; padding: 10px 16px;
  background: #fffdf8; border: 1px solid #536b48; border-radius: 10px;
  color: #30462b; font: 600 15px/1.3 system-ui, sans-serif; cursor: pointer;
}
.measurement-choice :focus-visible { outline: 3px solid #426a32; outline-offset: 3px; }
#measurement-status:empty { display: none; }
.landing-links [data-open-measurement] { background: none; border: 0; padding: 8px 0; color: inherit; font: inherit; cursor: pointer; }
