/* This sheet is also linked with media=max-width:1023px. No desktop rules. */
@media (max-width: 1023px) {
  body.paimen-has-cta {
    padding-bottom: calc(var(--paimen-cta-base-padding, 0px) + var(--paimen-cta-height, calc(68px + env(safe-area-inset-bottom, 0px)))) !important;
  }

  #paimen-contact-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 25;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    box-sizing: border-box;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    border-top: 1px solid #cbd5e1;
    background: #fff;
    box-shadow: 0 -4px 18px rgb(0 24 51 / 10%);
    font-family: sans-serif;
  }

  #paimen-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 8px;
    border: 1px solid #003166;
    border-radius: 8px;
    color: #003166;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    text-align: center;
  }

  #paimen-contact-bar a:last-child {
    color: #fff;
    background: #003166;
  }

  #paimen-contact-bar a:focus-visible {
    outline: 3px solid #007cff;
    outline-offset: 2px;
  }
}
