.help-trigger {
  position: relative;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  vertical-align: middle;
  width: 12px;
  min-width: 12px;
  height: 22px;
  padding: 0;
  margin-left: 4px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--brand);
  font: 500 15px/1 Roboto, Arial, sans-serif;
  cursor: pointer;
}
.help-trigger:hover { color: var(--brand); }
.help-trigger:focus-visible { color: var(--brand); outline: 2px solid var(--brand); outline-offset: 1px; }
.offer-km-price .help-trigger { color: #fff; }
.offer-km-price .help-trigger:focus-visible { outline-color: #fff; }
@media (min-width: 781px) {
  /* Rows without a limit/value can use that empty column for the risk name/help. */
  .insurance-visual-mine .mine-risk-row:not(.mine-row-deductible):not(.mine-row-noGapDeductible):not(.mine-row-newPriceInsurance):has(> .mine-risk-value:empty) > .mine-risk-title {
    grid-column: 1 / 3;
  }
  .insurance-visual-mine .mine-risk-row:not(.mine-row-deductible):not(.mine-row-noGapDeductible):not(.mine-row-newPriceInsurance) > .mine-risk-value:empty {
    display: none;
  }
  .help-field-row { position: relative !important; }
  .help-field-row > .help-field-trigger {
    width: 28px;
    min-width: 28px;
    height: 32px;
    position: absolute;
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    justify-self: end;
    align-self: center;
    right: -36px;
    margin: 0;
  }
}
@media (max-width: 780px) {
  .help-field-trigger { height: 44px; width: 32px; min-width: 32px; margin-block: -13px; }
}
.help-dialog {
  width: min(600px, calc(100% - 28px));
  max-height: calc(100dvh - 40px);
  padding: 30px;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  background: var(--panel);
  color: var(--text);
  overflow-wrap: anywhere;
  font-weight: 400;
}
.help-dialog::backdrop { background: #0008; }
.help-dialog h2 { margin: 0 32px 20px 0; font-size: 23px; line-height: 1.25; }
.help-body p { white-space: pre-line; line-height: 1.5; margin: 0; }
.help-body > :not(:first-child) { margin-top: 1em; }
.help-body a { color: var(--brand); text-decoration: underline; }
.help-close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--text); font-size: 26px; }
:is(.help-close,.help-body a):focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
html:not([lang="cs"]) .field-group > .field-header h2 { overflow-wrap: anywhere; }
@media (max-width: 780px) {
  .help-dialog { padding: 24px 20px; }
  html:not([lang="cs"]) .calculator-head { padding-top: 160px; }
  html:not([lang="cs"]) :is(.payment-page,.payment-options-page) .calculator-head { padding-top: 86px; }
}
