.hrwm-settings {
  padding: .5rem 1rem;
  text-align: center;
}

.hrwm-settings button {
  border: 0;
  padding: .5rem;
  background: transparent;
  color: #234d30;
  font: 600 .875rem/1.4 system-ui, sans-serif;
  text-decoration: underline;
  cursor: pointer;
}

.hrwm-banner[hidden], .hrwm-error[hidden] { display: none !important; }
body:has(.hrwm-banner:not([hidden])) #callnowbutton { z-index: 99998 !important; }

.hrwm-banner {
  position: fixed;
  z-index: 99999;
  inset: auto 12px max(12px, env(safe-area-inset-bottom)) 12px;
  box-sizing: border-box;
  max-width: 590px;
  padding: 15px 17px;
  border: 1px solid #a3b5a3;
  border-radius: 12px;
  background: #fff;
  color: #22382a;
  box-shadow: 0 5px 28px #12251730;
  font: 1rem/1.42 system-ui, sans-serif;
  max-height: calc(100dvh - 24px);
  overflow: auto;
}

.hrwm-banner h2 { margin: 0 0 4px; color: #22382a; font: 700 1.0625rem/1.3 system-ui, sans-serif; }
.hrwm-banner p { margin: 0 0 4px; }
.hrwm-banner a { color: #234d30; text-decoration: underline; font-size: .875rem; }
.hrwm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hrwm-actions button {
  flex: 1 1 110px;
  min-height: 44px;
  padding: .45rem .75rem;
  border: 1px solid #285337;
  border-radius: 7px;
  color: #234d30;
  background: #edf4ec;
  font: 650 .9375rem/1.25 system-ui, sans-serif;
  text-align: center;
  cursor: pointer;
}
.hrwm-actions button:hover { background: #dcead9; }
.hrwm-settings button:focus-visible, .hrwm-banner :focus-visible { outline: 2px solid #285337; outline-offset: 3px; }
.hrwm-error { padding-top: 4px; color: #773127; }

@media (min-width: 650px) {
  .hrwm-banner { inset-inline: 18px auto; }
  .hrwm-actions { max-width: 310px; }
}
