/* Vector arrows stay monochrome on iOS, Android and desktop. */
svg.nh-link-arrow {
  display: inline-block;
  width: 1em;
  height: 1em;
  min-width: 1em;
  flex: none;
  vertical-align: -.12em;
  color: inherit;
  pointer-events: none;
}
.dropdown-panel a > svg.nh-link-arrow { width: 16px; height: 16px; }
.nh-demo-hint { display: none; }
.nh-demo-hint[hidden] { display: none !important; }

@media (max-width: 940px) {
  .nh-demo-hint {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    margin-block: 20px;
    border: 1px solid #d6dfcf;
    border-radius: 12px;
    background: #f0f5eb;
    color: #233e30;
    text-align: left;
    font: 400 13px/1.55 Inter, system-ui, sans-serif;
  }
  .nh-demo-hint > svg { flex: none; width: 23px; height: 23px; margin-top: 2px; color: #426747; }
  .nh-demo-hint .nh-demo-hint-copy { min-width: 0; }
  .nh-demo-hint strong { display: block; margin: 0 0 4px; font: 600 14px/1.4 Inter, system-ui, sans-serif; }
  .nh-demo-hint .nh-demo-hint-copy p { margin: 0; color: #4a6152; font: inherit; }
  .nh-demo-hint-floating {
    position: fixed;
    z-index: 10000;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    max-width: 480px;
    margin: 0 auto;
    background: #f7faf3;
    box-shadow: 0 8px 36px #10281b33;
  }
  .nh-demo-hint .nh-demo-hint-dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 12px;
    padding: 10px 16px;
    border: 1px solid #214935;
    border-radius: 7px;
    background: #214935;
    color: #fff;
    font: 600 13px/1.3 Inter, system-ui, sans-serif;
    cursor: pointer;
  }
  .nh-demo-hint-dismiss:focus-visible { outline: 3px solid #83aa59; outline-offset: 3px; }
}
