/* Aviso de cookies: discreto, no canto, sem bloquear a página. */
.cookie-notice { position: fixed; z-index: 60; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 14px;
  max-width: 460px; padding: 12px 14px; border: 1px solid #d6dfec; border-radius: 10px; background: #fff; color: #23324d;
  box-shadow: 0 12px 32px #0b18331f; font: 13px/1.5 Inter, "Segoe UI", system-ui, sans-serif; }
.cookie-notice p { margin: 0; }
.cookie-notice a { color: #0058ef; }
.cookie-notice button { flex: none; min-height: 34px; padding: 0 14px; border: 0; border-radius: 7px; background: #17243a; color: #fff;
  font: 600 13px Inter, "Segoe UI", system-ui, sans-serif; cursor: pointer; }
.cookie-notice button:focus-visible { outline: 3px solid #e08a13; outline-offset: 2px; }
body.structcalc-dark .cookie-notice { background: #17243a; border-color: #2b3b57; color: #dbe5f5; }
body.structcalc-dark .cookie-notice a { color: #8fb6ff; }
body.structcalc-dark .cookie-notice button { background: #e8eef9; color: #10203c; }
@media (max-width: 560px) {
  .cookie-notice { left: 12px; right: 12px; bottom: 12px; max-width: none; flex-direction: column; align-items: stretch; gap: 10px; }
  .cookie-notice button { min-height: 40px; }
}
@media print { .cookie-notice { display: none; } }

/* Aviso de versão nova (mesmo arquivo: é carregado em todas as páginas). */
.version-notice { position: fixed; z-index: 70; left: 50%; top: 12px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px;
  width: min(560px, calc(100vw - 24px)); padding: 10px 12px 10px 16px; border-radius: 10px; background: #10203c; color: #fff;
  box-shadow: 0 14px 34px #0b183340; font: 13px/1.45 Inter, "Segoe UI", system-ui, sans-serif; }
.version-notice span { flex: 1; }
.version-notice button { flex: none; min-height: 34px; padding: 0 14px; border: 0; border-radius: 7px; background: #fff; color: #10203c;
  font: 600 13px Inter, "Segoe UI", system-ui, sans-serif; cursor: pointer; }
@media print { .version-notice { display: none; } }

