.bd-maintenance-overlay {
  position: fixed; inset: 0; z-index: 999999; display: flex;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(15, 23, 42, .58);
}
.bd-maintenance-modal {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100dvh - 40px);
  overflow: auto; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}
.bd-maintenance-head { padding: 24px 56px 18px 24px; background: #f8fafc; border-bottom: 1px solid #e5e7eb; }
.bd-maintenance-head h2 { margin: 0; color: #111827; font-size: 24px; font-weight: 700; line-height: 1.25; }
.bd-maintenance-body { padding: 22px 24px 16px; color: #374151; font-size: 16px; line-height: 1.6; }
.bd-maintenance-body p { margin: 0; }
.bd-maintenance-contact { margin-top: 18px; padding-top: 16px; border-top: 1px solid #e5e7eb; color: #111827; font-size: 15px; font-weight: 600; }
.bd-maintenance-contact a { color: inherit; text-decoration: none; }
.bd-maintenance-contact a:hover { text-decoration: underline; }
.bd-maintenance-actions { padding: 4px 24px 24px; }
.bd-maintenance-btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 130px;
  min-height: 46px; padding: 0 22px; border: 0; border-radius: 8px;
  background: #f5a623; color: #111827; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.bd-maintenance-btn:hover { opacity: .9; }
.bd-maintenance-close {
  position: absolute; top: 15px; right: 16px; z-index: 2; width: 38px; height: 38px;
  border: 0; border-radius: 50%; background: transparent; color: #6b7280; font-size: 27px; cursor: pointer;
}
.bd-maintenance-close:hover { background: #e5e7eb; color: #111827; }
.bd-maintenance-modal :is(button, a):focus-visible { outline: 3px solid #0b8577; outline-offset: 3px; }
.bd-maintenance-open { overflow: hidden; }
@media (max-width: 640px) {
  .bd-maintenance-overlay { align-items: flex-end; padding: 12px; }
  .bd-maintenance-modal { max-width: none; max-height: calc(100dvh - 24px); }
  .bd-maintenance-head { padding: 20px 52px 16px 18px; }
  .bd-maintenance-head h2 { font-size: 20px; }
  .bd-maintenance-body { padding: 18px 18px 14px; font-size: 15px; }
  .bd-maintenance-contact { font-size: 14px; }
  .bd-maintenance-actions { padding: 4px 18px 18px; }
  .bd-maintenance-btn { width: 100%; }
}
