.mh {
  width: min(600px, calc(100% - 26px));
  max-height: min(86dvh, 880px);
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  border: 1px solid #d7d9ca;
  border-radius: 22px;
  background: #faf8f1;
  color: #193e31;
  box-shadow: 0 24px 90px #14291d3d;
  font: 1rem/1.5 var(--sans, sans-serif);
  overflow: auto;
  overscroll-behavior: contain;
}
.mh::backdrop { background: #12251dd1; }
.mh-inner { padding: clamp(22px, 5vw, 38px); }
.mh header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.mh-label, .mh-fields label > span { font: 600 .73rem/1.4 var(--sans, sans-serif); color: #54634f; }
.mh-label { text-transform: uppercase; letter-spacing: .09em; }
.mh h2 { margin: 2px 0 0; font: 400 clamp(2.25rem, 7vw, 3.5rem)/1.04 var(--serif, Georgia, serif); letter-spacing: -.025em; }
.mh p { margin: 15px 0 21px; }
.mh-x { padding: 0; width: 42px; height: 42px; border: 1px solid #b8c3b0; border-radius: 50%; background: transparent; color: #193e31; font: 1.5rem/1 var(--sans, sans-serif); cursor: pointer; flex: none; }
.mh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 19px; border: 0; border-radius: 30px; background: #193e31; color: #fff; text-decoration: none; cursor: pointer; font: 650 .91rem/1.4 var(--sans, sans-serif); }
.mh-btn:hover { background: #315641; }
.mh button:disabled { opacity: .55; cursor: default; }
.mh-notice:not(:empty) { margin: 14px 0; border-left: 3px solid #93a05b; padding: 7px 12px; background: #f0f1de; }
.mh-manual { margin-top: 22px; border-top: 1px solid #d4d9c8; padding: 14px 0 0; }
.mh-manual summary { font-weight: 650; cursor: pointer; }
.mh-manual ul { list-style: none; padding: 0; }
.mh-manual li { border-bottom: 1px solid #dfe2d5; }
.mh-manual a { display: block; padding: 9px 0; }
.mh-manual a, .mh-how, .mh-link, .mh p a { color: #365e40; text-underline-offset: 3px; }
.mh-how, .mh-link { display: inline-block; margin-top: 16px; font-size: .83rem; }
.mh-link { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.mh-row { border-top: 1px solid #d6dbce; padding: 13px 0 16px; }
.mh-rowtitle { display: flex; gap: 12px; justify-content: space-between; }
.mh-rowtitle > span { font-variant-numeric: tabular-nums; color: #4e614f; }
.mh-fields { margin-top: 7px; display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 10px; }
.mh-fields label > span { display: block; margin-bottom: 4px; }
.mh select, .mh input { box-sizing: border-box; width: 100%; min-height: 42px; font: .9rem/1.2 var(--sans, sans-serif); border: 1px solid #bdc5b4; background: #fffef9; padding: 6px; color: #193e31; border-radius: 5px; }
.mh form > .mh-btn { margin-top: 6px; }
.mh :focus-visible { outline: 3px solid #8c4928; outline-offset: 2px; }
@media (max-width: 440px) {
  .mh { max-height: 91dvh; }
  .mh-fields { grid-template-columns: minmax(0, 1fr) 72px; align-items: end; }
}
