/* Complementos do portal Supabase. A folha portal.css reproduz o painel de referência. */
button:disabled { opacity: .65; cursor: wait; }
#environment:not(:empty)::before { content: " · "; }
.scope-picker { display: inline-block; margin: 0 0 0 8px; }
.scope-picker select { display: inline-block; width: auto; max-width: 13rem; padding: 5px; }
.dashboard-totals .metric:nth-child(2) { border-top-color: #282828; }
.dashboard-totals .metric:nth-child(3) { border-top-color: #76543b; }
.dashboard-totals .metric:nth-child(4) { border-top-color: #8c6c50; }
.bar progress {
  appearance: none;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #e3e5e8;
  color: #a98768;
}
.bar progress::-webkit-progress-bar { background: #e3e5e8; }
.bar progress::-webkit-progress-value { background: #a98768; }
.bar progress::-moz-progress-bar { background: #a98768; }
.bar.green progress::-webkit-progress-value { background: #282828; }
.bar.green progress::-moz-progress-bar { background: #282828; }
.portal-action {
  display: inline-block;
  background: #181818;
  color: white;
  padding: 11px 15px;
  border-radius: 6px;
  margin: 4px;
  font: 13.3333px Arial, sans-serif;
  text-decoration: none;
}
.portal-action:hover { background: #76543b; }
.portal-action:focus-visible { outline: 3px solid #b89a7d; outline-offset: 2px; }
.record-details p { overflow-wrap: anywhere; }
@media print { .portal-action { display: none; } }
