.fx-maintenance-banner[hidden], .fx-maintenance-overlay[hidden] { display: none !important; }
.fx-maintenance-banner { position: fixed; z-index: 2147483000; top: 12px; left: 12px; right: 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border: 2px solid #8d5900; border-radius: 8px; background: #fff4d7; color: #382300; box-shadow: 0 3px 14px #0003; font: 500 16px/1.45 system-ui, sans-serif; }
.fx-maintenance-banner button, .fx-maintenance-page a { flex-shrink: 0; padding: 9px 14px; border: 1px solid #173e6e; border-radius: 6px; background: #173e6e; color: #fff; font: inherit; text-decoration: none; cursor: pointer; }
.fx-maintenance-banner button:focus-visible, .fx-maintenance-page a:focus-visible { outline: 3px solid #1677bd; outline-offset: 3px; }
.fx-maintenance-overlay { position: fixed; z-index: 2147483001; inset: 0; display: grid; place-items: center; overflow: auto; padding: 24px; background: #eef3f9f5; color: #17334e; font: 400 18px/1.5 system-ui, sans-serif; }
.fx-maintenance-card { width: min(100%, 560px); box-sizing: border-box; padding: 32px; background: white; border: 1px solid #afc1d4; border-radius: 12px; text-align: center; box-shadow: 0 8px 32px #17334e22; }
.fx-maintenance-card h1 { margin: 12px 0; font-size: clamp(23px, 5vw, 30px); }
.fx-maintenance-card p { margin: 12px 0 0; }
.fx-maintenance-card button { margin-top: 18px; padding: 10px 16px; border: 1px solid #173e6e; border-radius: 6px; color: white; background: #173e6e; font: inherit; cursor: pointer; }
.fx-maintenance-card button[hidden] { display: none; }
.fx-maintenance-spinner { display: inline-block; width: 32px; height: 32px; border: 4px solid #d0ddea; border-top-color: #245b91; border-radius: 50%; animation: fx-maintenance-spin 1s linear infinite; }
.fx-maintenance-page { margin: 0; padding: 24px; min-height: 100vh; box-sizing: border-box; display: grid; place-items: center; color: #17334e; background: #eef3f9; font: 400 18px/1.5 system-ui, sans-serif; }
.fx-maintenance-page main { max-width: 600px; }
@keyframes fx-maintenance-spin { to { transform: rotate(360deg); } }
@media (max-width: 540px) { .fx-maintenance-banner { flex-direction: column; align-items: stretch; font-size: 15px; } .fx-maintenance-card { padding: 24px 18px; } }
@media (prefers-reduced-motion: reduce) { .fx-maintenance-spinner { animation: none; } }
@media print { .fx-maintenance-banner, .fx-maintenance-overlay { display: none !important; } }
