@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg:            #07101E;
  --surface:       #0F1929;
  --border:        #1E3554;
  --accent:        #00D4FF;
  --accent-h:      #00BCDF;
  --text:          #E8F0FF;
  --muted:         #5A7A9A;
  --green:         #22FF7A;
  --red:           #FF5C6A;
  --code-bg:       #040A14;
  --nav-active:    rgba(0,212,255,0.10);
  --hover-bg:      #0C1828;
  --item-meta:     #4A6A8A;
  --item-time:     #3A5A7A;
  --item-text:     #B8CCEA;
  --item-divider:  #162640;
  --detail-text:   #7A9ABE;
  --empty-text:    #3A5A7A;
  --bar-bg:        #162640;
  --btn-sm-bg:     #0C1828;
  --btn-sm-border: #1E3554;
  --btn-sm-color:  #5A7A9A;
  --banner-bg:     #091420;
  --banner-color:  #5A7A9A;
  --alert-border:  #2A1020;
  --input-color:   #E8F0FF;
}

[data-theme="light"] {
  --bg:            #F0F6FF;
  --surface:       #FFFFFF;
  --border:        #BAD0EA;
  --text:          #0A1628;
  --muted:         #4A6A8A;
  --code-bg:       #E8F0FF;
  --nav-active:    rgba(0,212,255,0.10);
  --hover-bg:      #E0EEFF;
  --item-meta:     #4A6A8A;
  --item-time:     #6A8AAA;
  --item-text:     #1A2E42;
  --item-divider:  #BAD0EA;
  --detail-text:   #3A5A7A;
  --empty-text:    #6A8AAA;
  --bar-bg:        #BAD0EA;
  --btn-sm-bg:     #F0F6FF;
  --btn-sm-border: #BAD0EA;
  --btn-sm-color:  #4A6A8A;
  --banner-bg:     #E8F0FF;
  --banner-color:  #4A6A8A;
  --alert-border:  #BAD0EA;
  --input-color:   #0A1628;
}
[data-theme="light"] .nivel-baixo { background: #dcfce7; color: #15803d; }
[data-theme="light"] .nivel-médio { background: #fef9c3; color: #a16207; }
[data-theme="light"] .nivel-alto  { background: #fee2e2; color: #b91c1c; }
[data-theme="light"] .alert-stat  { border-color: var(--border); }
[data-theme="light"] .alert-item  { border-color: var(--border); }
[data-theme="light"] .alert-item.is-new { border-color: #fca5a5; }

/* public/dashboard/style.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  transition: background-color 0.2s, color 0.2s;
}

/* ── Login ─────────────────────────────── */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 16px;
}
.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  width: 100%;
  max-width: 380px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.logo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.logo-text { font-size: 18px; font-weight: 700; }

.form-group { margin-bottom: 16px; }
label { display: block; color: #888; font-size: 12px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.4px; }
input[type="email"], input[type="password"] {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--input-color);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}
input:focus { border-color: var(--accent); }

.btn-primary {
  width: 100%;
  background: var(--accent);
  border: none;
  border-radius: 6px;
  padding: 11px;
  color: #07101E;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 4px;
}
.btn-primary:hover { background: var(--accent-h); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.error-msg {
  color: #f87171;
  font-size: 12px;
  margin-top: 10px;
  display: none;
  line-height: 1.4;
}
.error-msg.show { display: block; }

/* ── Dashboard layout ───────────────────── */
.dashboard { display: flex; min-height: 100vh; }

.sidebar {
  width: 200px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 10;
}
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  margin-bottom: 12px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}
.nav-item.active { background: var(--nav-active); color: var(--text); }
.nav-item:hover:not(.active) { background: var(--nav-active); color: var(--text); }
.sidebar-footer {
  margin-top: auto;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.api-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 11px;
  color: var(--muted);
}
.api-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #444;
  flex-shrink: 0;
}
.api-status.online .api-status-dot  { background: #4ade80; }
.api-status.offline .api-status-dot { background: #f87171; }

.main { margin-left: 200px; padding: 32px; flex: 1; max-width: 720px; }
.page-title { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.page-subtitle { color: var(--muted); font-size: 13px; margin-bottom: 24px; }

/* ── Cards ──────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
}
.card-label {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.usage-number { font-size: 28px; font-weight: 700; }
.usage-limit { color: var(--muted); font-size: 16px; font-weight: 400; }
.usage-bar { background: var(--border); border-radius: 4px; height: 6px; margin-top: 12px; }
.usage-fill { background: var(--accent); height: 6px; border-radius: 4px; transition: width 0.5s ease; }
.card-sub { color: var(--muted); font-size: 11px; margin-top: 8px; }

.plan-badge { color: var(--accent); font-size: 20px; font-weight: 700; text-transform: capitalize; }
.btn-upgrade {
  display: inline-block;
  margin-top: 12px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 5px;
  padding: 5px 12px;
  font-size: 11px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-upgrade:hover { background: var(--hover-bg); }

#btn-portal {
  margin-top: 12px;
  width: 100%;
}

.apikey-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.apikey-field {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  font-family: 'Courier New', monospace;
  color: #4ade80;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.btn-sm {
  background: var(--btn-sm-bg);
  border: 1px solid var(--btn-sm-border);
  color: var(--btn-sm-color);
  border-radius: 5px;
  padding: 7px 12px;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.1s, color 0.1s;
}
.btn-sm:hover { background: var(--hover-bg); color: var(--text); }
.copied-feedback { color: #4ade80; font-size: 11px; margin-top: 6px; display: none; }
.copied-feedback.show { display: block; }

/* Feedback modal */
.feedback-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.feedback-modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  width: 100%;
  max-width: 420px;
  margin: 16px;
}
.feedback-modal-box h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 16px;
}
.feedback-modal-box p {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
}
.feedback-textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  resize: vertical;
  box-sizing: border-box;
}
.feedback-textarea::placeholder { color: var(--muted); }
.feedback-cancel-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

.success-msg {
  color: #4ade80;
  font-size: 13px;
  text-align: center;
  margin-top: 12px;
  display: none;
  line-height: 1.4;
}
.success-msg.show { display: block; }

.uso-banner { padding: 10px 16px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; background: var(--banner-bg); color: var(--banner-color); }
.uso-banner.warning { background: rgba(234,179,8,0.1); color: #fbbf24; border: 1px solid rgba(234,179,8,0.3); }
.uso-banner.danger  { background: rgba(239,68,68,0.1);  color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.uso-banner a { color: inherit; font-weight: 600; text-decoration: none; }
.success-upgrade { padding: 10px 16px; background: rgba(74,222,128,0.1); color: #4ade80; border: 1px solid rgba(74,222,128,0.3); border-radius: 8px; margin-bottom: 16px; font-size: 13px; display: none; }

/* ── Historico ──────────────────────────── */
.history-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }

.history-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.history-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: background 0.1s;
}
.history-header:hover { background: var(--hover-bg); }

.severity-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.nivel-baixo  { background: #14532d; color: #4ade80; }
.nivel-médio  { background: #713f12; color: #fbbf24; }
.nivel-alto   { background: #7f1d1d; color: #f87171; }

.history-tipo {
  font-size: 11px;
  color: var(--item-meta);
  font-family: 'Courier New', monospace;
  white-space: nowrap;
}

.history-problema {
  flex: 1;
  font-size: 13px;
  color: var(--item-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-time {
  font-size: 11px;
  color: var(--item-time);
  white-space: nowrap;
}

.history-detail {
  padding: 0 18px 16px;
  border-top: 1px solid var(--item-divider);
  display: none;
  flex-direction: column;
  gap: 12px;
}
.history-detail.open { display: flex; }

.detail-row { font-size: 13px; color: var(--detail-text); line-height: 1.6; }
.detail-row strong { color: var(--text); }

.detail-sugestoes { padding-left: 16px; }
.detail-sugestoes li { font-size: 12px; color: var(--muted); margin-bottom: 4px; }

.detail-code {
  background: var(--code-bg);
  border: 1px solid #222;
  border-radius: 6px;
  padding: 10px 14px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #4ade80;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 160px;
  overflow-y: auto;
}

.confianca-bar-wrap { display: flex; align-items: center; gap: 10px; }
.confianca-bar {
  flex: 1;
  background: var(--bar-bg);
  border-radius: 4px;
  height: 4px;
}
.confianca-fill { background: var(--accent); height: 4px; border-radius: 4px; }

.history-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--empty-text);
  font-size: 14px;
  line-height: 1.8;
}
.history-empty a { color: var(--accent); text-decoration: none; }

/* ── Nav badge ──────────────────────────── */
.nav-item { position: relative; }
.nav-badge {
  margin-left: auto;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.nav-badge.visible { display: flex; }

/* ── Alert stat cards ────────────────────── */
.alert-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.alert-stat {
  background: var(--surface);
  border: 1px solid var(--alert-border);
  border-radius: 10px;
  padding: 16px 18px;
}
.alert-stat-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--item-meta); margin-bottom: 6px; }
.alert-stat-value { font-size: 26px; font-weight: 700; color: #f87171; }
.alert-stat-sub { font-size: 11px; color: var(--item-meta); margin-top: 4px; }

/* ── Alert list items ────────────────────── */
.alert-item {
  background: var(--surface);
  border: 1px solid var(--alert-border);
  border-radius: 10px;
  overflow: hidden;
}
.alert-item.is-new { border-color: #7f1d1d; animation: alertPulse 1s ease; }
@keyframes alertPulse {
  0%   { box-shadow: 0 0 0 0 rgba(239,68,68,0.35); }
  60%  { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
  100% { box-shadow: none; }
}

.alert-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: background 0.1s;
}
.alert-header:hover { background: var(--hover-bg); }

.alert-new-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  flex-shrink: 0;
  opacity: 0;
}
.alert-item.is-new .alert-new-dot { opacity: 1; }

.alert-tipo {
  font-size: 11px;
  color: var(--item-meta);
  font-family: 'Courier New', monospace;
  white-space: nowrap;
}
.alert-problema {
  flex: 1;
  font-size: 13px;
  color: #fca5a5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.alert-time { font-size: 11px; color: var(--item-time); white-space: nowrap; }

.alert-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--empty-text);
  font-size: 14px;
  line-height: 1.8;
}
.alert-empty a { color: var(--accent); text-decoration: none; }

/* ── Logo cursor ─────────────────────────── */
.logo-debug { color: var(--accent); font-family: 'JetBrains Mono', monospace; font-weight: 700; }
.logo-cursor {
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--accent);
  margin-left: 1px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.sidebar-logo { display: flex; align-items: center; gap: 2px; padding: 8px 10px; margin-bottom: 12px; }

/* ── Recursos Status Sidebar ──────────────── */
.recursos-status-sidebar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.recurso-status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  padding: 4px;
  border-radius: 4px;
  transition: background 0.2s;
}

.recurso-status-item:hover {
  background: var(--nav-active);
  color: var(--text);
}

.recurso-status-item .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #444;
}

.recurso-status-item .status-dot.online {
  background: #4ade80;
  animation: statusPulse 2s infinite;
}

.recurso-status-item .status-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── SDKs Grid ──────────────────────────── */
.sdks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.sdk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.2s;
}

.sdk-item:hover {
  border-color: var(--accent);
}

.sdk-check {
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;
  min-width: 24px;
}

.sdk-check.online {
  color: #4ade80;
  animation: statusPulse 2s infinite;
}

.sdk-check.offline {
  color: #ef4444;
}

.sdk-info {
  flex: 1;
  min-width: 0;
}

.sdk-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.sdk-pkg {
  font-size: 11px;
  color: var(--muted);
  font-family: 'Courier New', monospace;
}

/* ── Theme toggle (sidebar) ─────────────────── */
.theme-toggle-sidebar {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  padding: 4px 8px;
  cursor: pointer;
  margin-top: 8px;
  width: 100%;
  text-align: left;
  transition: background 0.2s;
}
.theme-toggle-sidebar:hover { background: var(--surface); }

/* ── Tutorial de Integração ──────────────── */
.sdk-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.sdk-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  padding: 10px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.sdk-tab:hover { color: var(--text); }

.sdk-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.sdk-content {
  display: none;
}

.sdk-content.active {
  display: block;
}

.tutorial-step {
  margin-bottom: 18px;
}

.step-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.code-block {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 10px;
  position: relative;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.code-block code {
  display: block;
  color: #4ade80;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  overflow: auto;
  max-height: 300px;
}

.btn-copy-code {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.btn-copy-code:hover {
  background: var(--border);
  color: var(--text);
}

/* ── Recursos Integrados ────────────────── */
.recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.recurso-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  transition: border-color 0.2s;
}

.recurso-card:hover {
  border-color: var(--accent);
}

.recurso-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.recurso-info {
  flex: 1;
  min-width: 0;
}

.recurso-nome {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.recurso-sub {
  font-size: 11px;
  color: var(--muted);
}

.recurso-status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.online {
  background: #4ade80;
  animation: statusPulse 2s infinite;
}

.status-dot.offline {
  background: #666;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.status-text {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  text-align: right;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Tutorial Checklist ────────────────── */
.tutorial-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist-item {
  display: flex;
  gap: 14px;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  align-items: flex-start;
}

.checklist-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
}

.checklist-content {
  flex: 1;
  min-width: 0;
}

.checklist-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.checklist-item p {
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .dashboard { flex-direction: column; }
  .main { margin-left: 0; padding: 16px; }
  .sidebar {
    position: sticky;
    top: 0;
    width: 100%;
    height: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 10px;
    gap: 4px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    z-index: 100;
  }
  .sidebar::-webkit-scrollbar { display: none; }
  .sidebar-footer { display: none; }
  .sidebar-logo { margin-bottom: 0; flex-shrink: 0; }
  .recursos-status-sidebar { display: none; }
  .theme-toggle-sidebar { width: auto; margin-top: 0; flex-shrink: 0; }
  .api-status { order: -1; }
  .nav-item { font-size: 12px; padding: 8px 10px; white-space: nowrap; flex-shrink: 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .sdk-tabs { gap: 4px; }
  .sdk-tab { padding: 8px 10px; font-size: 12px; }
  .code-block { padding: 10px 12px; }
  .code-block code { font-size: 11px; }
  .btn-copy-code { top: 6px; right: 6px; padding: 5px 8px; font-size: 10px; }
  .recursos-grid { grid-template-columns: 1fr; gap: 10px; }
  .recurso-card { padding: 12px; gap: 10px; }
  .recurso-icon { font-size: 20px; }
  .recurso-nome { font-size: 12px; }
  .recurso-sub { font-size: 10px; }
  .status-text { font-size: 10px; max-width: 80px; }
  .alert-stats { grid-template-columns: 1fr 1fr; }
}
