/* ===== Ouvidoria — Montserrat + interface moderna ===== */
.page-ouvidoria {
  --ouv-font: 'Montserrat', system-ui, -apple-system, sans-serif;
  --ouv-bg: #f4f6fb;
  --ouv-surface: #ffffff;
  --ouv-dark: #0c0b14;
  --ouv-muted: #64748b;
  --ouv-border: rgba(148, 163, 184, 0.35);
  --ouv-accent: #6366f1;
  --ouv-accent2: #22d3ee;
  --ouv-magenta: #e879f9;
  --ouv-gradient: linear-gradient(125deg, #6366f1 0%, #8b5cf6 40%, #22d3ee 100%);
  --ouv-glow: 0 0 60px rgba(99, 102, 241, 0.35);
  --ouv-radius: 20px;
  --ouv-radius-sm: 14px;

  padding-top: 72px;
  background: var(--ouv-bg);
  font-family: var(--ouv-font);
}

.page-ouvidoria .nav-logo,
.page-ouvidoria .nav-links a,
.page-ouvidoria .logo-text {
  font-family: var(--ouv-font) !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hidden { display: none !important; }

/* ----- Main layout ----- */
.ouv-main {
  padding-bottom: 64px;
  position: relative;
}

/* ----- Hero ----- */
.ouv-hero {
  position: relative;
  padding: clamp(40px, 8vw, 72px) 0 clamp(48px, 6vw, 64px);
  margin-bottom: 8px;
  overflow: hidden;
}

.ouv-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(99, 102, 241, 0.45), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(34, 211, 238, 0.2), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(232, 121, 249, 0.15), transparent 45%),
    linear-gradient(165deg, #0a0618 0%, #12102a 45%, #1a1740 100%);
}

.ouv-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 30%, transparent 95%);
  pointer-events: none;
}

.ouv-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.ouv-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  margin-bottom: 22px;
}

.ouv-hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 12px #34d399;
  animation: ouvPulse 2s ease infinite;
}

@keyframes ouvPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.1); }
}

.ouv-hero-title {
  font-family: var(--ouv-font);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 20px;
}

.ouv-hero-accent {
  background: linear-gradient(90deg, #a5b4fc, #22d3ee, #e879f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ouv-lead {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 28px;
  max-width: 38rem;
}

.ouv-lead strong {
  color: #fff;
  font-weight: 700;
}

.ouv-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Botões da página (substituem .btn da home) */
.ouv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--ouv-font);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease;
  text-decoration: none;
}

.ouv-btn-primary {
  color: #fff;
  background: var(--ouv-gradient);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
}

.ouv-btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5);
}

.ouv-btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ouv-btn-glow {
  box-shadow: var(--ouv-glow), 0 8px 32px rgba(99, 102, 241, 0.35);
}

.ouv-btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.ouv-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.ouv-btn-secondary {
  color: #334155;
  background: var(--ouv-surface);
  border: 1px solid var(--ouv-border);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.ouv-btn-secondary:hover:not(:disabled) {
  border-color: #c7d2fe;
  background: #f8fafc;
  color: var(--ouv-accent);
}

/* ----- Sections ----- */
.ouv-section {
  margin-bottom: clamp(36px, 5vw, 52px);
}

.ouv-section-head {
  margin-bottom: 24px;
}

.ouv-section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ouv-accent);
  margin-bottom: 8px;
}

.ouv-section-title {
  font-family: var(--ouv-font);
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ouv-dark);
  margin: 0 0 8px;
}

.ouv-section-desc {
  margin: 0;
  color: var(--ouv-muted);
  font-size: 0.95rem;
  font-weight: 500;
  max-width: 36rem;
}

/* Info cards */
.ouv-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
}

.ouv-info-card {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--ouv-radius-sm);
  background: var(--ouv-surface);
  border: 1px solid var(--ouv-border);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.ouv-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ouv-gradient);
  opacity: 0.85;
}

.ouv-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.12);
}

.ouv-info-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
  line-height: 1;
}

.ouv-info-card h3 {
  font-family: var(--ouv-font);
  font-size: 1rem;
  font-weight: 800;
  color: var(--ouv-dark);
  margin: 0 0 10px;
}

.ouv-info-card p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ouv-muted);
}

.ouv-info-card p strong {
  color: #334155;
  font-weight: 700;
}

/* ----- Form shell ----- */
.ouv-form-section .ouv-form-shell {
  position: relative;
  padding: 3px;
  border-radius: calc(var(--ouv-radius) + 4px);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.5), rgba(34, 211, 238, 0.35), rgba(232, 121, 249, 0.35));
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
}

.ouv-steps {
  padding: 20px 16px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #fff 100%);
  border-radius: var(--ouv-radius) var(--ouv-radius) 0 0;
}

.ouv-step-track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 4px;
  max-width: 520px;
  margin: 0 auto;
}

.ouv-step {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 56px;
  cursor: default;
  opacity: 0.45;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ouv-step.active {
  opacity: 1;
}

.ouv-step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: #94a3b8;
  background: #f1f5f9;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.ouv-step.active .ouv-step-num {
  color: #fff;
  background: var(--ouv-gradient);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.ouv-step-name {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.ouv-step.active .ouv-step-name {
  color: var(--ouv-accent);
}

.ouv-step-line {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #e2e8f0;
  flex-shrink: 0;
}

.ouv-form-card {
  background: var(--ouv-surface);
  border-radius: 0 0 var(--ouv-radius) var(--ouv-radius);
  padding: clamp(24px, 4vw, 36px);
  border: none;
  box-shadow: none;
}

.ouv-panel h3 {
  font-family: var(--ouv-font);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ouv-dark);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.ouv-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 8px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 12px;
}

.ouv-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--ouv-radius-sm);
  border: 2px solid var(--ouv-border);
  background: #fafbfc;
  cursor: pointer;
  font-family: var(--ouv-font);
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ouv-radio:hover {
  border-color: #c7d2fe;
  background: #fff;
}

.ouv-radio.ouv-radio--on {
  border-color: var(--ouv-accent);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(34, 211, 238, 0.06));
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.2);
}

.ouv-radio input {
  width: 18px;
  height: 18px;
  accent-color: var(--ouv-accent);
}

.ouv-fields-ident {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--ouv-border);
}

.ouv-panel label:not(.ouv-radio):not(.ouv-check) {
  display: block;
  font-family: var(--ouv-font);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 18px;
}

.ouv-panel input[type="text"],
.ouv-panel select,
.ouv-panel textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  font-family: var(--ouv-font);
  font-size: 0.95rem;
  font-weight: 500;
  border: 2px solid var(--ouv-border);
  border-radius: var(--ouv-radius-sm);
  background: #fafbfc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ouv-panel input:focus,
.ouv-panel select:focus,
.ouv-panel textarea:focus {
  outline: none;
  border-color: var(--ouv-accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.ouv-panel textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.ouv-check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-family: var(--ouv-font);
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
  margin-top: 20px;
  line-height: 1.55;
}

.ouv-check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--ouv-accent);
  flex-shrink: 0;
}

.ouv-review {
  font-family: var(--ouv-font);
  background: linear-gradient(145deg, #f8fafc, #f1f5f9);
  border: 1px solid var(--ouv-border);
  border-radius: var(--ouv-radius-sm);
  padding: 20px 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
  line-height: 1.65;
  white-space: pre-wrap;
}

.ouv-nav-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ouv-border);
}

/* ----- Panel cards (protocolo / admin) ----- */
.ouv-panel-card {
  background: var(--ouv-surface);
  border-radius: var(--ouv-radius);
  padding: clamp(22px, 3vw, 28px);
  border: 1px solid var(--ouv-border);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.ouv-panel-card--admin {
  background: linear-gradient(165deg, #fafbfc 0%, #fff 100%);
  border-color: rgba(99, 102, 241, 0.2);
}

.ouv-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.ouv-panel-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: var(--ouv-gradient);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

.ouv-panel-title {
  font-family: var(--ouv-font);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--ouv-dark);
  letter-spacing: -0.02em;
}

.ouv-muted {
  color: var(--ouv-muted);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}

.ouv-code {
  font-family: ui-monospace, monospace;
  font-size: 0.85em;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--ouv-accent);
  font-weight: 700;
}

.ouv-track-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.ouv-anon-message {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--ouv-radius-sm);
  border: 1px solid rgba(99, 102, 241, 0.25);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(34, 211, 238, 0.06));
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 600;
}

.ouv-anon-message strong {
  font-weight: 900;
}

.ouv-input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  font-family: var(--ouv-font);
  font-size: 0.95rem;
  font-weight: 500;
  border: 2px solid var(--ouv-border);
  border-radius: var(--ouv-radius-sm);
  background: #fafbfc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ouv-input:focus {
  outline: none;
  border-color: var(--ouv-accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.ouv-protocol-result {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: var(--ouv-radius-sm);
  font-family: var(--ouv-font);
  font-weight: 600;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.ouv-admin-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ouv-report-card {
  background: #fff;
  border: 1px solid var(--ouv-border);
  border-radius: var(--ouv-radius-sm);
  padding: 18px 20px;
  display: grid;
  gap: 10px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  font-family: var(--ouv-font);
}

.ouv-report-card strong {
  color: var(--ouv-dark);
  font-weight: 800;
}

.ouv-report-card select {
  margin-top: 6px;
  width: 100%;
  max-width: 280px;
  padding: 10px 14px;
  font-family: var(--ouv-font);
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid var(--ouv-border);
}

/* ----- Modal ----- */
.ouv-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ouv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 22, 0.72);
  backdrop-filter: blur(8px);
}

.ouv-modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 36px 32px;
  text-align: center;
  border-radius: var(--ouv-radius);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35), var(--ouv-glow);
  font-family: var(--ouv-font);
}

.ouv-modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  background: var(--ouv-gradient);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.4);
}

.ouv-modal-box h2 {
  font-family: var(--ouv-font);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ouv-dark);
  letter-spacing: -0.02em;
}

.ouv-modal-sub {
  margin: 0 0 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ouv-muted);
}

.ouv-protocol-big {
  font-family: var(--ouv-font);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ouv-accent);
  margin: 12px 0 16px;
  padding: 12px 16px;
  border-radius: var(--ouv-radius-sm);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.ouv-modal-box .ouv-muted {
  margin-bottom: 22px;
}

/* Footer link */
.ouv-footer-link {
  color: #22d3ee !important;
  font-family: var(--ouv-font);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ouv-footer-link:hover {
  color: #a5b4fc !important;
}

.page-ouvidoria .footer-bottom p {
  font-family: var(--ouv-font);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .ouv-step-track {
    justify-content: flex-start;
  }
  .ouv-step-line {
    display: none;
  }
  .ouv-step {
    flex: 1 1 40%;
  }
  .ouv-nav-btns {
    flex-direction: column-reverse;
  }
  .ouv-nav-btns .ouv-btn {
    width: 100%;
  }
  .ouv-track-modern .ouv-btn {
    width: 100%;
  }
}

/* ===== Admin panel (protocolos / relatórios / cadastros) ===== */
.ouv-admin-filter {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--ouv-radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

.ouv-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #334155;
  margin-bottom: 10px;
}

.ouv-admin-tabs {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ouv-admin-tab {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(255, 255, 255, 0.7);
  color: #334155;
  font-weight: 900;
  font-family: var(--ouv-font);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ouv-admin-tab:hover { transform: translateY(-1px); }
.ouv-admin-tab.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(34, 211, 238, 0.08));
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.12);
}

.ouv-admin-tabpanels { margin-top: 16px; }
.ouv-admin-panel { display: none; }
.ouv-admin-panel.active { display: block; }

.ouv-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
}

.ouv-form-block {
  padding: 20px 18px;
  border-radius: var(--ouv-radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.ouv-admin-h3 {
  margin: 0 0 14px;
  font-family: var(--ouv-font);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
  color: #0f172a;
}

/* Bloco "Acesso Administrativo" (para ficar fácil de enxergar) */
.ouv-admin-access-block {
  margin-top: 14px;
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--ouv-radius-sm);
  border: 1px solid rgba(99, 102, 241, 0.35);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.10), rgba(34, 211, 238, 0.06));
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(99, 102, 241, 0.10);
}

.ouv-admin-access-inner {
  display: grid;
  gap: 10px;
  align-items: start;
}

.ouv-admin-access-title {
  font-family: var(--ouv-font);
  font-weight: 1000;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
  color: #0f172a;
}

.ouv-admin-access-desc {
  margin: 0;
  color: #475569;
  font-weight: 600;
  line-height: 1.55;
  font-size: 0.95rem;
}

/* Botão dentro do bloco */
.ouv-admin-access-block .ouv-btn {
  justify-self: start;
}

.ouv-fields-grid {
  display: grid;
  gap: 10px;
}

.ouv-fields-grid label {
  display: block;
  color: #334155;
  font-weight: 700;
  font-size: 0.9rem;
}

.ouv-admin-lists {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
}

.ouv-list-block {
  padding: 16px;
  border-radius: var(--ouv-radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.6);
}

.ouv-admin-listing {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.ouv-admin-item {
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.ouv-admin-item strong { color: #0f172a; font-family: var(--ouv-font); }
.ouv-admin-item-meta { color: #475569; font-weight: 600; font-size: 0.9rem; }

.ouv-protocols-list {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.ouv-protocol-card {
  padding: 16px 16px;
  border-radius: var(--ouv-radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.ouv-protocol-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.ouv-protocol-proto strong { font-family: var(--ouv-font); font-size: 1.05rem; }
.ouv-label-small {
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 8px;
}

.ouv-protocol-status select {
  max-width: 240px;
}

.ouv-protocol-assign select {
  max-width: 240px;
}

.ouv-status-sel,
.ouv-assign-sel {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  background: #fafbfc;
  font-family: var(--ouv-font);
  font-weight: 700;
  color: #0f172a;
}

.ouv-status-sel:focus,
.ouv-assign-sel:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.65);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.ouv-protocol-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ouv-chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.25);
  background: rgba(99, 102, 241, 0.08);
  color: #0f172a;
  font-weight: 800;
  font-size: 0.85rem;
  font-family: var(--ouv-font);
}

.ouv-report-grid {
  margin-top: 12px;
}

.ouv-report-cards {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.ouv-report-card {
  padding: 16px;
  border-radius: var(--ouv-radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.ouv-report-card-title {
  font-family: var(--ouv-font);
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #334155;
  font-size: 1rem;
  margin-bottom: 10px;
}

.ouv-report-card-value {
  font-family: var(--ouv-font);
  font-weight: 900;
  font-size: 2.2rem;
  color: #6366f1;
}

.ouv-report-list {
  display: grid;
  gap: 8px;
}

.ouv-report-list-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #334155;
  font-weight: 700;
}

.ouv-report-list-item strong { color: #0f172a; }

@media (max-width: 768px) {
  .ouv-protocol-top { flex-direction: column; align-items: stretch; }
  .ouv-protocol-status select { max-width: 100%; }
  .ouv-protocol-assign select { max-width: 100%; }
}
