.oknolit-measure-choice {
  box-sizing: border-box;
  width: 100%;
  margin-block: 24px;
  padding: 16px 20px;
  border: 1px solid #c6d5df;
  background: #fff;
  color: #043454;
  font: 16px/1.5 Arial, sans-serif;
}
.oknolit-measure-choice *, .oknolit-measure-choice *::before, .oknolit-measure-choice *::after { box-sizing: border-box; }
.oknolit-measure-choice [hidden] { display: none !important; }
#oknolit-measurement-choice p { margin: 0; }
.oknolit-measure-summary, .oknolit-measure-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
/* Reserve the existing fixed chat lane for controls, not content or native UI. */
.oknolit-measure-summary, .oknolit-measure-heading, .oknolit-measure-actions { padding-inline-end: 76px; }
.oknolit-measure-summary p { flex: 1 1 210px; }
.oknolit-measure-heading { margin-bottom: 12px; }
#oknolit-measurement-choice h2 { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 700; color: inherit; }
.oknolit-measure-choice button {
  min-height: 44px;
  max-width: 100%;
  padding: 9px 16px;
  border: 1px solid #005f9b;
  border-radius: 4px;
  background: #fff;
  color: #005f9b;
  font: inherit;
  font-weight: 700;
  line-height: 1.4;
  white-space: normal;
  cursor: pointer;
}
.oknolit-measure-choice button:hover { background: #edf5fa; }
.oknolit-measure-choice [data-measure-save] { background: #005f9b; color: #fff; }
.oknolit-measure-choice [data-measure-save]:hover { background: #004d83; }
.oknolit-measure-choice :is(button, input, a):focus-visible { outline: 3px solid #005f9b; outline-offset: 3px; }
.oknolit-measure-choice fieldset { min-width: 0; margin: 18px 0 0; padding: 0; border: 0; }
.oknolit-measure-choice legend { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.oknolit-measure-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.oknolit-measure-options label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; min-height: 44px; padding-block: 4px; cursor: pointer; }
.oknolit-measure-options input { appearance: auto; width: 20px; height: 20px; margin: 3px 0 0; accent-color: #005f9b; }
.oknolit-measure-options label > span { min-width: 0; }
.oknolit-measure-options strong, .oknolit-measure-options label span span { display: block; }
.oknolit-measure-options label span span { margin-top: 2px; }
#oknolit-measurement-choice .oknolit-measure-note { margin-top: 14px; }
.oknolit-measure-choice a { color: #005f9b; text-decoration: underline; text-underline-offset: .15em; }
.oknolit-measure-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.oknolit-measure-status:empty { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#oknolit-measurement-choice .oknolit-measure-status:not(:empty) { margin-top: 8px; }
@media (max-width: 600px) {
  .oknolit-measure-choice { padding: 14px; }
  .oknolit-measure-options { grid-template-columns: minmax(0, 1fr); }
  .oknolit-measure-actions button { flex: 1 1 210px; }
  .oknolit-measure-heading h2 { flex: 1 1 190px; }
}
