/* Investor confirmation gate (basemedia GmbH, 11/2026). Inherits the theme's fonts and colour tokens. */
html.bm-gate-page #us-overlay { display: none !important; }
html.bm-gate-open, html.bm-gate-open body { overflow: hidden !important; }

.bm-gate { --bm-accent: var(--navy, var(--blue, #203865)); --bm-line: #d9dee7; --bm-muted: #5b6474;
  position: fixed; inset: 0; z-index: 9500; display: none; align-items: center; justify-content: center;
  padding: 16px; background: rgba(10, 22, 50, 0.92); backdrop-filter: blur(4px); }
.bm-gate.is-open { display: flex; }
.bm-gate-box { background: #fff; color: #1e2533; border-radius: 10px; width: 100%; max-width: 680px; max-height: 92vh;
  display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5); text-align: left; }
.bm-gate-head { padding: 22px 32px 16px; border-bottom: 1px solid var(--bm-line); text-align: center; flex-shrink: 0; }
.bm-gate-logo { height: 40px; width: auto; margin: 0 auto 12px; display: block; }
.bm-gate-head h2 { font-size: 1.25rem; color: var(--bm-accent); margin: 0 0 6px; }
.bm-gate-head p { font-size: 0.875rem; color: var(--bm-muted); margin: 0; line-height: 1.6; }
.bm-gate-step { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.bm-gate-step[hidden] { display: none; }
.bm-gate-body { flex: 1; overflow-y: auto; padding: 20px 32px; font-size: 0.875rem; line-height: 1.7; scrollbar-width: thin; }
.bm-gate-fields { display: grid; gap: 10px; margin-bottom: 8px; }
.bm-gate-label { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--bm-accent); margin: 0 0 4px; padding: 0; }
.bm-gate-select { width: 100%; font: inherit; font-size: 0.9375rem; padding: 10px 12px; border: 1px solid var(--bm-line); border-radius: 6px; background: #fff; color: inherit; }
.bm-gate-select:focus, .bm-gate-type input:focus-visible, .bm-gate-confirm input:focus-visible, .bm-gate-btn:focus-visible { outline: 2px solid var(--bm-accent); outline-offset: 2px; }
.bm-gate-types { border: 0; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.bm-gate-type { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--bm-line); border-radius: 6px; cursor: pointer; }
.bm-gate-type:has(input:checked) { border-color: var(--bm-accent); background: rgba(32, 56, 101, 0.04); }
.bm-gate-type input { margin-top: 4px; accent-color: var(--bm-accent); flex-shrink: 0; }
.bm-gate-type strong { display: block; font-size: 0.9375rem; }
.bm-gate-type small { display: block; color: var(--bm-muted); font-size: 0.8125rem; line-height: 1.5; }
.bm-gate-legal-title { font-size: 0.9375rem; color: var(--bm-accent); margin: 18px 0 6px; }
.bm-gate-legal { color: #3c4352; }
.bm-gate-legal h4 { font-size: 0.875rem; color: var(--bm-accent); margin: 16px 0 4px; }
.bm-gate-legal p { margin: 0 0 10px; }
.bm-gate-legal a, .bm-gate-record a { color: var(--bm-accent); text-decoration: underline; }
.bm-gate-foot { padding: 16px 32px 20px; border-top: 1px solid var(--bm-line); background: #f7f8fa; flex-shrink: 0; }
.bm-gate-confirm { display: flex; gap: 10px; align-items: flex-start; font-size: 0.875rem; line-height: 1.55; cursor: pointer; }
.bm-gate-confirm input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--bm-accent); }
.bm-gate-record { font-size: 0.75rem; color: var(--bm-muted); margin: 8px 0 14px 26px; line-height: 1.5; }
.bm-gate-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.bm-gate-btn { font: inherit; font-size: 0.9375rem; font-weight: 600; border-radius: 6px; padding: 12px 28px; cursor: pointer; border: 1px solid var(--bm-accent); transition: background 0.2s, color 0.2s, opacity 0.2s; }
.bm-gate-primary { background: var(--bm-accent); color: #fff; }
.bm-gate-primary:disabled { opacity: 0.45; cursor: not-allowed; }
.bm-gate-secondary { background: transparent; color: var(--bm-accent); }
.bm-gate-secondary:hover { background: rgba(32, 56, 101, 0.06); }
.bm-gate-deny-title { font-size: 1.125rem; color: var(--bm-accent); margin: 8px 0; }
@media (max-width: 600px) {
  .bm-gate { padding: 8px; }
  .bm-gate-head, .bm-gate-body, .bm-gate-foot { padding-left: 18px; padding-right: 18px; }
  .bm-gate-head { padding-top: 16px; }
  .bm-gate-logo { height: 32px; margin-bottom: 8px; }
  .bm-gate-btns { flex-direction: column-reverse; }
  .bm-gate-btn { width: 100%; }
}
