[data-operation-locked] body > :not(#operation-lock) {
  display: none !important;
}

[data-operation-locked] dialog,
[data-operation-locked] dialog::backdrop {
  visibility: hidden !important;
}

#operation-content[hidden],
#operation-lock[hidden],
#operation-lock [hidden] {
  display: none !important;
}

#operation-lock {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: grid;
  place-items: center;
  overflow: auto;
  box-sizing: border-box;
  padding: max(20px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom));
  background: #f2f3e9;
  color: #193c30;
  font: 15px/1.5 Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  color-scheme: light;
}

.ol-panel {
  width: min(100%, 390px);
  box-sizing: border-box;
  margin: auto;
  padding: clamp(22px, 5vw, 35px);
  border: 1px solid #d4ddcc;
  border-radius: 23px;
  background: #fdfef8;
  box-shadow: 0 17px 50px #2647330c;
}

.ol-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
}

.ol-mark {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: #1a4637;
  color: #daefb5;
  font: 700 15px/1 Arial, sans-serif;
}

#operation-lock h1 {
  margin: 25px 0 5px;
  color: #193c30;
  font: 700 clamp(26px, 5vw, 33px)/1.2 Inter, "Microsoft YaHei", sans-serif;
  letter-spacing: -.06em;
}

.ol-progress {
  margin: 0 0 21px;
  color: #546c5b;
  font-size: 13px;
}

#ol-label, #ol-answer, #operation-lock button {
  display: block;
}

#ol-label {
  margin-bottom: 7px;
  color: #214b37;
  font-size: 15px;
  font-weight: 650;
}

#ol-answer {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid #aabca0;
  border-radius: 9px;
  background: #f6f7ef;
  color: #193c30;
  font-size: 17px;
}

.ol-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 13px 0 18px;
  color: #506655;
  font-size: 13px;
}

#ol-remember {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #235b43;
}

#operation-lock button {
  min-height: 44px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #1c4a38;
  color: #f9fff0;
  font: 650 15px/1.4 Inter, "Microsoft YaHei", sans-serif;
  cursor: pointer;
}

#operation-lock button:disabled {
  opacity: .56;
  cursor: default;
}

#operation-lock :is(button, input):focus-visible {
  outline: 3px solid #80a35b;
  outline-offset: 3px;
}

#ol-message {
  margin: 13px 0 0;
  color: #893e27;
  font-size: 13px;
}

#ol-retry { margin-top: 15px; }
