/* ================================================
   Arcory — site.css v1.1.0
   Estilos principais: Auth, Dashboard, PWA mobile
   ================================================ */

:root {
  --arcory-bg: #12121a;
  --arcory-bg-alt: #1a1a28;
  --arcory-card: #1e1e2e;
  --arcory-border: rgba(255,255,255,.08);
  --arcory-text: #f1f1f6;
  --arcory-text-dim: rgba(255,255,255,.55);
  --arcory-primary: #7c3aed;
  --arcory-primary2: #3b82f6;
  --arcory-grad: linear-gradient(135deg,#7c3aed,#3b82f6);
  --arcory-danger: #f87171;
  --arcory-success: #10b981;
  --arcory-warning: #fbbf24;

  /* Safe areas para iPhone notch / Android */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

/* ---- Reset base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.arcory-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height mobile */
  background: var(--arcory-bg);
  color: var(--arcory-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Previne seleção acidental em touch */
  -webkit-tap-highlight-color: transparent;
}

/* ---- Scrollbar personalizado ---- */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.25); }

/* ---- Botões globais ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--arcory-grad); color: #fff; border: none;
  padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 14px;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
  font-family: inherit; text-decoration: none; white-space: nowrap;
  /* Touch feedback */
  -webkit-tap-highlight-color: rgba(124,58,237,.2);
  touch-action: manipulation;
}
.btn-primary:hover,
.btn-primary:focus-visible { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(124,58,237,.35); }
.btn-primary:active { transform: translateY(0); }
.btn-primary.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-primary.btn-full { width: 100%; justify-content: center; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); color: var(--arcory-text); border: 1px solid var(--arcory-border);
  padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 13px;
  cursor: pointer; transition: background .15s, border-color .15s;
  font-family: inherit; text-decoration: none;
  touch-action: manipulation;
}
.btn-secondary:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }

/* ---- Auth pages (login, registro) ---- */
.auth-wrap {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(124,58,237,.25), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(59,130,246,.2), transparent 45%),
    var(--arcory-bg);
  padding: 24px;
  /* Padding seguro para notch/home indicator */
  padding-top: max(24px, var(--safe-top));
  padding-bottom: max(24px, var(--safe-bottom));
}

.auth-card {
  width: 100%; max-width: 400px; background: var(--arcory-card);
  border: 1px solid var(--arcory-border); border-radius: 20px; padding: 40px 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
  animation: authCardIn .3s ease;
}
@keyframes authCardIn {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.auth-brand { text-align: center; margin-bottom: 28px; }
.auth-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 18px; background: var(--arcory-grad);
  font-size: 26px; color: #fff; margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(124,58,237,.45);
}
.auth-brand h1 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.auth-brand p { margin: 5px 0 0; color: var(--arcory-text-dim); font-size: 13px; }

.auth-alert {
  background: rgba(248,113,113,.12); border: 1px solid rgba(248,113,113,.35);
  color: #fca5a5; padding: 11px 14px; border-radius: 10px; font-size: 13px;
  margin-bottom: 18px; display: flex; align-items: center; gap: 8px;
  animation: alertIn .2s ease;
}
.auth-alert-success {
  background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.35);
  color: #6ee7b7;
}
@keyframes alertIn { from{opacity:0;transform:translateY(-4px)} to{opacity:1;transform:none} }

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form label {
  font-size: 12px; color: var(--arcory-text-dim);
  display: flex; flex-direction: column; gap: 7px; font-weight: 500;
  letter-spacing: .01em;
}
.auth-form .input-group { position: relative; }
.auth-form .input-group i {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.3); font-size: 13px; pointer-events: none;
}
.auth-form .input-group input { padding-left: 36px !important; }

.auth-form input {
  background: var(--arcory-bg-alt); border: 1px solid var(--arcory-border);
  color: var(--arcory-text); border-radius: 10px; padding: 13px 14px; font-size: 14px;
  outline: none; transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
  /* iOS fix: font-size menor causa zoom automático */
  font-size: 16px;
}
@media (min-width: 480px) {
  .auth-form input { font-size: 14px; }
}
.auth-form input:focus {
  border-color: var(--arcory-primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,.18);
}
.auth-form .btn-primary { justify-content: center; margin-top: 6px; }

.auth-foot { text-align: center; margin-top: 22px; font-size: 13px; color: var(--arcory-text-dim); }
.auth-foot a { color: #c4b5fd; text-decoration: none; font-weight: 600; }
.auth-foot a:hover { text-decoration: underline; }

/* Toggle de senha */
.input-eye {
  position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.3); cursor: pointer; padding: 4px;
  transition: color .15s;
}
.input-eye:hover { color: rgba(255,255,255,.7); }

/* ---- Dashboard ---- */
.dash-wrap { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }

.dash-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  padding-left: max(28px, var(--safe-left));
  padding-right: max(28px, var(--safe-right));
  border-bottom: 1px solid var(--arcory-border); background: var(--arcory-bg-alt);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.dash-brand {
  font-weight: 800; font-size: 17px; display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--arcory-text);
}
.dash-brand i { color: #c4b5fd; }
.dash-brand span.dash-version {
  font-size: 10px; background: rgba(124,58,237,.2); color: #c4b5fd;
  padding: 2px 7px; border-radius: 20px; border: 1px solid rgba(124,58,237,.3);
  font-weight: 700; letter-spacing: .03em;
}
.dash-user { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--arcory-text-dim); }

.dash-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--arcory-grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; overflow: hidden; flex-shrink: 0;
}
.dash-avatar img { width: 100%; height: 100%; object-fit: cover; }

.dash-logout {
  color: var(--arcory-text-dim); text-decoration: none; width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 9px;
  border: 1px solid var(--arcory-border); transition: color .15s, border-color .15s, background .15s;
  touch-action: manipulation;
}
.dash-logout:hover { color: #fca5a5; border-color: rgba(248,113,113,.4); background: rgba(248,113,113,.08); }

.dash-main {
  flex: 1; max-width: 1200px; margin: 0 auto;
  padding: 40px 28px 80px; width: 100%;
  padding-bottom: max(80px, calc(80px + var(--safe-bottom)));
}

.dash-hero { margin-bottom: 44px; }
.dash-hero-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.dash-hero h1 { font-size: 28px; margin: 0 0 4px; font-weight: 800; letter-spacing: -.02em; }
.dash-hero p { color: var(--arcory-text-dim); margin: 0 0 20px; font-size: 15px; }
.dash-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.dash-section { margin-bottom: 40px; }
.dash-section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.dash-section h2 {
  font-size: 13px; font-weight: 700; margin: 0;
  color: var(--arcory-text-dim); text-transform: uppercase; letter-spacing: .06em;
}
.dash-section-link { font-size: 12px; color: #c4b5fd; text-decoration: none; font-weight: 600; }
.dash-section-link:hover { text-decoration: underline; }

.dash-empty {
  border: 1px dashed var(--arcory-border); border-radius: 16px; padding: 60px 20px;
  text-align: center; color: var(--arcory-text-dim);
}
.dash-empty i { font-size: 36px; margin-bottom: 14px; opacity: .35; display: block; }
.dash-empty p { margin: 0 0 18px; font-size: 14px; }

/* ---- Grid de projetos ---- */
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.dash-card {
  background: var(--arcory-card); border: 1px solid var(--arcory-border); border-radius: 14px;
  overflow: hidden; text-decoration: none; color: var(--arcory-text);
  transition: transform .15s, border-color .15s, box-shadow .15s;
  display: block;
  touch-action: manipulation;
}
.dash-card:hover {
  transform: translateY(-3px); border-color: rgba(124,58,237,.5);
  box-shadow: 0 12px 32px rgba(124,58,237,.15);
}
.dash-card:active { transform: scale(.98); }
.dash-card-thumb {
  aspect-ratio: 4/3; background: var(--arcory-bg-alt);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.2); font-size: 28px; overflow: hidden;
  position: relative;
}
.dash-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dash-card-thumb-overlay {
  position: absolute; inset: 0; background: rgba(124,58,237,.8);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .15s; color: #fff; font-size: 20px;
}
.dash-card:hover .dash-card-thumb-overlay { opacity: 1; }
.dash-card-info { padding: 10px 12px 12px; }
.dash-card-info strong { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.dash-card-info small { color: var(--arcory-text-dim); font-size: 11px; text-transform: capitalize; }

/* ---- Status badges ---- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 20px; font-size: 10px; font-weight: 700; }
.badge-rascunho { background: rgba(124,58,237,.2); color: #c4b5fd; border: 1px solid rgba(124,58,237,.3); }
.badge-publicado { background: rgba(16,185,129,.2); color: #6ee7b7; border: 1px solid rgba(16,185,129,.3); }
.badge-arquivado { background: rgba(100,116,139,.2); color: #94a3b8; border: 1px solid rgba(100,116,139,.3); }
.badge-superadmin { background: rgba(124,58,237,.2); color: #c4b5fd; border: 1px solid rgba(124,58,237,.3); }
.badge-admin { background: rgba(59,130,246,.2); color: #93c5fd; border: 1px solid rgba(59,130,246,.3); }
.badge-pro { background: linear-gradient(90deg,rgba(124,58,237,.3),rgba(59,130,246,.3)); color: #c4b5fd; border: 1px solid rgba(124,58,237,.3); }

/* ---- Toast de notificações ---- */
#toast-container {
  position: fixed; bottom: calc(20px + var(--safe-bottom)); right: 20px;
  z-index: 99999; display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  background: #1e1e2e; border: 1px solid rgba(255,255,255,.12);
  color: var(--arcory-text); padding: 12px 18px; border-radius: 12px;
  font-size: 13px; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,.4);
  display: flex; align-items: center; gap: 10px;
  animation: toastIn .25s ease; pointer-events: all;
  max-width: 320px;
}
.toast.toast-ok { border-color: rgba(16,185,129,.35); }
.toast.toast-ok i { color: #10b981; }
.toast.toast-err { border-color: rgba(248,113,113,.35); }
.toast.toast-err i { color: #f87171; }
.toast.toast-war { border-color: rgba(251,191,36,.35); }
.toast.toast-war i { color: #fbbf24; }
@keyframes toastIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }

/* ---- PWA install button ---- */
#pwa-install-btn {
  display: none;
  position: fixed; bottom: calc(80px + var(--safe-bottom)); left: 50%; transform: translateX(-50%);
  z-index: 9999; background: var(--arcory-grad); color: #fff;
  border: none; border-radius: 50px; padding: 14px 28px; font-size: 14px; font-weight: 700;
  box-shadow: 0 8px 32px rgba(124,58,237,.45); cursor: pointer; font-family: inherit;
  gap: 10px; align-items: center;
  animation: pwaIn .4s ease .5s both;
  white-space: nowrap;
  touch-action: manipulation;
}
#pwa-install-btn.show { display: inline-flex; }
@keyframes pwaIn { from{opacity:0;transform:translateX(-50%) translateY(20px)} to{opacity:1;transform:translateX(-50%) translateY(0)} }

/* ---- Banner offline ---- */
#offline-banner {
  display: none; position: fixed; top: var(--safe-top); left: 0; right: 0; z-index: 99998;
  background: rgba(251,191,36,.95); color: #1a1a28; padding: 10px 20px;
  text-align: center; font-size: 13px; font-weight: 600;
  backdrop-filter: blur(8px);
}
body.offline #offline-banner { display: block; }

/* ---- Mobile nav bottom bar (para PWA) ---- */
.mobile-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  height: calc(60px + var(--safe-bottom));
  background: var(--arcory-bg-alt);
  border-top: 1px solid var(--arcory-border);
  padding-bottom: var(--safe-bottom);
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.mobile-nav-items {
  display: flex; align-items: stretch; height: 60px;
}
.mobile-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: var(--arcory-text-dim); text-decoration: none; font-size: 10px; font-weight: 600;
  transition: color .15s; padding: 8px 4px;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.mobile-nav-item i { font-size: 18px; }
.mobile-nav-item.active { color: #c4b5fd; }
.mobile-nav-item:active { opacity: .7; }

/* Mostra nav mobile apenas quando é PWA standalone ou tela pequena */
@media (display-mode: standalone) {
  .mobile-nav { display: flex; }
  .dash-main { padding-bottom: calc(80px + var(--safe-bottom)); }
}
@media (max-width: 480px) {
  .mobile-nav { display: flex; }
  .dash-main { padding-bottom: calc(80px + var(--safe-bottom)); }
}

/* ---- Responsivo geral ---- */
@media (max-width: 768px) {
  .dash-topbar { padding: 12px 16px; }
  .dash-main { padding: 24px 16px 80px; }
  .dash-hero h1 { font-size: 22px; }
  .dash-hero p { font-size: 14px; }
  .dash-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .auth-card { padding: 28px 22px; border-radius: 16px; }
  .dash-user span { display: none; }
}

@media (max-width: 480px) {
  .auth-wrap { padding: 16px; align-items: flex-end; }
  .auth-card {
    border-radius: 20px 20px 0 0;
    padding: 28px 20px calc(28px + var(--safe-bottom));
    max-width: 100%;
    box-shadow: 0 -8px 40px rgba(0,0,0,.5);
  }
  .dash-hero-actions { flex-direction: column; }
  .dash-hero-actions .btn-primary { width: 100%; justify-content: center; }
  .dash-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

@media (max-width: 360px) {
  .dash-grid { grid-template-columns: 1fr; }
}

/* ---- Acessibilidade e focus ---- */
:focus-visible {
  outline: 2px solid var(--arcory-primary);
  outline-offset: 2px;
}
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Loading overlay ---- */
.arcory-loading {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(18,18,26,.85); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px;
}
.arcory-loading-spinner {
  width: 48px; height: 48px; border: 3px solid rgba(124,58,237,.2);
  border-top-color: #7c3aed; border-radius: 50%;
  animation: spin .7s linear infinite;
}
.arcory-loading p { color: rgba(255,255,255,.6); font-size: 14px; margin: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Splash screen PWA ---- */
@media (display-mode: standalone) {
  body.arcory-body::before {
    content: '';
    display: block;
    height: var(--safe-top);
    background: var(--arcory-bg-alt);
  }
}

/* ================================================
   Dashboard v2 — Hub de Criação (estilo Canva)
   ================================================ */

/* Layout principal expandido */
.dash-main-wide {
  max-width: 1440px;
  padding: 32px 32px 100px;
}

/* ---- Busca no topbar ---- */
.dash-search-bar {
  flex: 1; max-width: 480px; position: relative;
  display: flex; align-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--arcory-border);
  border-radius: 50px; padding: 0 14px;
  transition: border-color .2s, box-shadow .2s;
}
.dash-search-bar:focus-within {
  border-color: rgba(124,58,237,.5);
  box-shadow: 0 0 0 3px rgba(124,58,237,.12);
  background: rgba(255,255,255,.07);
}
.dash-search-bar > i { color: rgba(255,255,255,.35); font-size: 13px; flex-shrink: 0; }
.dash-search-bar input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--arcory-text); font-size: 13px; padding: 10px 8px;
  font-family: inherit;
}
.dash-search-bar input::placeholder { color: rgba(255,255,255,.3); }
.dash-search-clear {
  background: none; border: none; color: rgba(255,255,255,.3); cursor: pointer;
  padding: 4px; display: none; transition: color .15s;
}
.dash-search-clear:hover { color: var(--arcory-text); }

/* ---- Hero v2 ---- */
.dash-hero-v2 {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; margin-bottom: 40px;
  background: linear-gradient(135deg,rgba(124,58,237,.12),rgba(59,130,246,.08));
  border: 1px solid rgba(124,58,237,.2);
  border-radius: 24px; padding: 40px 48px;
  overflow: hidden; position: relative;
}
.dash-hero-v2::before {
  content: ''; position: absolute; top: -60px; right: -40px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(124,58,237,.2), transparent 70%);
  pointer-events: none;
}
.dash-hero-content { flex: 1; position: relative; z-index: 1; }
.dash-hero-v2 h1 { font-size: 32px; margin: 0 0 6px; font-weight: 800; letter-spacing: -.02em; }
.dash-hero-v2 p { color: var(--arcory-text-dim); margin: 0 0 20px; font-size: 15px; }

/* ---- Busca hero (mobile) ---- */
.dash-search-hero {
  display: none; position: relative;
  background: rgba(255,255,255,.06); border: 1px solid var(--arcory-border);
  border-radius: 50px; padding: 0 14px; margin-bottom: 18px;
  align-items: center;
}
.dash-search-hero > i { color: rgba(255,255,255,.35); font-size: 13px; }
.dash-search-hero input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--arcory-text); font-size: 16px; padding: 12px 8px; font-family: inherit;
}
.dash-search-hero input::placeholder { color: rgba(255,255,255,.3); }

/* ---- Mini cards hero (decoração) ---- */
.dash-hero-visual { flex-shrink: 0; }
.dash-hero-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 220px;
}
.dash-hcard {
  border-radius: 12px; padding: 14px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  font-size: 20px; color: #fff; font-weight: 700;
  animation: hcardFloat 3s ease-in-out infinite alternate;
  animation-delay: var(--hc-delay, 0s);
}
.dash-hcard span { font-size: 10px; font-weight: 600; opacity: .85; }
@keyframes hcardFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}

/* ---- Estatísticas ---- */
.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
.dash-stat-card {
  background: var(--arcory-card); border: 1px solid var(--arcory-border);
  border-radius: 14px; padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
  transition: transform .15s, border-color .15s;
}
.dash-stat-card:hover { transform: translateY(-2px); border-color: rgba(124,58,237,.3); }
.dash-stat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.dash-stat-body { min-width: 0; }
.dash-stat-num {
  font-size: 22px; font-weight: 800; line-height: 1;
  background: var(--arcory-grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.dash-stat-lbl { font-size: 11px; color: var(--arcory-text-dim); margin-top: 2px; white-space: nowrap; }

/* ---- Tabs de filtro ---- */
.dash-tab-group {
  display: flex; gap: 4px; flex-wrap: wrap;
}
.dash-tab {
  background: rgba(255,255,255,.05); border: 1px solid var(--arcory-border);
  color: var(--arcory-text-dim); padding: 5px 13px; border-radius: 50px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  font-family: inherit; white-space: nowrap;
}
.dash-tab:hover { background: rgba(255,255,255,.09); color: var(--arcory-text); }
.dash-tab.on {
  background: rgba(124,58,237,.2); color: #c4b5fd;
  border-color: rgba(124,58,237,.4);
}

/* ---- Grid de tamanhos ---- */
.dash-tamanhos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.dash-tam-card {
  background: var(--arcory-card); border: 1px solid var(--arcory-border);
  border-radius: 12px; padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; transition: transform .15s, border-color .15s, box-shadow .15s;
  touch-action: manipulation;
}
.dash-tam-card:hover {
  transform: translateY(-2px); border-color: rgba(124,58,237,.4);
  box-shadow: 0 6px 20px rgba(124,58,237,.12);
}
.dash-tam-card:active { transform: scale(.98); }
.dash-tam-icon {
  width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.dash-tam-info { flex: 1; min-width: 0; }
.dash-tam-info strong { display: block; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-tam-info small { color: var(--arcory-text-dim); font-size: 11px; }
.dash-tam-arrow { color: rgba(255,255,255,.2); font-size: 11px; transition: color .15s, transform .15s; }
.dash-tam-card:hover .dash-tam-arrow { color: #c4b5fd; transform: translateX(3px); }
.dash-tam-custom { border-style: dashed; }

/* ---- Grid de templates (5 colunas) ---- */
.dash-grid-5col {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.dash-tpl-card {
  background: var(--arcory-card); border: 1px solid var(--arcory-border);
  border-radius: 14px; overflow: hidden; cursor: pointer;
  transition: transform .15s, border-color .15s, box-shadow .15s;
  text-decoration: none; color: var(--arcory-text); display: block;
  touch-action: manipulation;
}
.dash-tpl-card:hover {
  transform: translateY(-4px); border-color: rgba(124,58,237,.5);
  box-shadow: 0 12px 32px rgba(124,58,237,.15);
}
.dash-tpl-card:active { transform: scale(.98); }
.dash-tpl-thumb {
  aspect-ratio: 4/3; background: var(--arcory-bg-alt);
  overflow: hidden; position: relative;
}
.dash-tpl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dash-tpl-hover {
  position: absolute; inset: 0; background: rgba(0,0,0,.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
}
.dash-tpl-card:hover .dash-tpl-hover { opacity: 1; }
.dash-tpl-premium {
  position: absolute; top: 8px; right: 8px;
  background: linear-gradient(90deg,#f59e0b,#f97316);
  color: #fff; font-size: 9px; font-weight: 800;
  padding: 3px 8px; border-radius: 20px; display: flex; align-items: center; gap: 4px;
}
.dash-tpl-info { padding: 10px 12px 12px; }
.dash-tpl-info strong { display: block; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.dash-tpl-info small { color: var(--arcory-text-dim); font-size: 11px; }

/* ---- Ferramentas ---- */
.dash-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.dash-tool-card {
  background: var(--arcory-card); border: 1px solid var(--arcory-border);
  border-radius: 14px; padding: 14px 16px;
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  color: var(--arcory-text); transition: transform .15s, border-color .15s, box-shadow .15s;
  touch-action: manipulation;
}
.dash-tool-card:hover {
  transform: translateY(-2px); border-color: rgba(124,58,237,.4);
  box-shadow: 0 6px 20px rgba(124,58,237,.1);
}
.dash-tool-card:active { transform: scale(.98); }
.dash-tool-icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.dash-tool-body { flex: 1; min-width: 0; }
.dash-tool-body strong { display: block; font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.dash-tool-body span { font-size: 11px; color: var(--arcory-text-dim); }
.dash-tool-arrow { color: rgba(255,255,255,.2); font-size: 12px; transition: color .15s, transform .15s; }
.dash-tool-card:hover .dash-tool-arrow { color: #c4b5fd; transform: translateX(3px); }

/* ================================================
   Responsivo Dashboard v2
   ================================================ */
@media (max-width: 1200px) {
  .dash-stats-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .dash-main-wide { padding: 24px 20px 100px; }
  .dash-hero-v2 { padding: 28px 24px; flex-direction: column; gap: 20px; }
  .dash-hero-v2 h1 { font-size: 24px; }
  .dash-hero-visual { display: none; }
  .dash-search-bar { display: none; }
  .dash-search-hero { display: flex; }
  .dash-stats-row { grid-template-columns: repeat(2, 1fr); }
  .dash-tamanhos-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 600px) {
  .dash-stats-row { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .dash-stat-card { padding: 12px 14px; gap: 10px; }
  .dash-stat-num { font-size: 20px; }
  .dash-hero-v2 { padding: 22px 18px; border-radius: 16px; }
  .dash-hero-v2 h1 { font-size: 20px; }
  .dash-tamanhos-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .dash-tam-card { padding: 10px 12px; gap: 8px; }
  .dash-tam-icon { width: 32px; height: 32px; font-size: 13px; }
  .dash-grid-5col { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dash-tools-grid { grid-template-columns: 1fr; }
  .dash-tab-group { gap: 3px; }
  .dash-tab { padding: 4px 10px; font-size: 11px; }
  .dash-hero-actions { flex-direction: column; }
  .dash-hero-actions .btn-primary { width: 100%; justify-content: center; }
  .dash-hero-actions .btn-secondary { width: 100%; justify-content: center; }
}
@media (max-width: 360px) {
  .dash-stats-row { grid-template-columns: 1fr 1fr; }
  .dash-tamanhos-grid { grid-template-columns: 1fr; }
  .dash-grid-5col { grid-template-columns: 1fr; }
}









.sa-body { background: #0e0e18; }

.sa-wrap {
  display: flex;
  min-height: 100vh;
}


.sa-sidebar {
  width: 230px;
  flex-shrink: 0;
  background: #15151f;
  border-right: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sa-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(124,58,237,.12);
}
.sa-logo > i {
  font-size: 22px;
  color: #a78bfa;
  flex-shrink: 0;
}
.sa-logo strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}
.sa-logo small {
  font-size: 10px;
  color: rgba(255,255,255,.4);
}

.sa-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 8px;
  flex: 1;
}
.sa-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: all .15s;
  margin-bottom: 2px;
}
.sa-nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.sa-nav-item.on { background: rgba(124,58,237,.2); color: #c4b5fd; }
.sa-nav-item i { width: 16px; text-align: center; font-size: 13px; }
.sa-nav-item.sa-nav-danger { color: rgba(248,113,113,.7); margin-top: auto; }
.sa-nav-item.sa-nav-danger:hover { background: rgba(248,113,113,.12); color: #f87171; }
.sa-nav-sep { height: 1px; background: rgba(255,255,255,.06); margin: 8px 4px; }


.sa-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-x: hidden;
}

.sa-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: #15151f;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.sa-topbar-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sa-topbar-title i { color: #a78bfa; }
.sa-topbar-user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
}
.sa-badge-role {
  background: rgba(124,58,237,.25);
  color: #c4b5fd;
  border: 1px solid rgba(124,58,237,.3);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
}


.sa-alert {
  margin: 12px 24px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sa-alert-success {
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.3);
  color: #34d399;
}
.sa-alert-danger {
  background: rgba(248,113,113,.12);
  border: 1px solid rgba(248,113,113,.3);
  color: #f87171;
}


.sa-grid-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  padding: 24px;
}
.sa-stat-card {
  background: #1a1a2a;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform .15s, border-color .15s;
}
.sa-stat-card:hover { transform: translateY(-2px); border-color: rgba(124,58,237,.3); }
.sa-stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}
.sa-stat-body strong { display: block; font-size: 20px; font-weight: 800; color: #fff; }
.sa-stat-body span   { display: block; font-size: 11px; color: rgba(255,255,255,.5); margin-top: 1px; }
.sa-stat-body small  { display: block; font-size: 10px; color: rgba(255,255,255,.3); }


.sa-section {
  padding: 16px 24px;
}
.sa-section-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}
.sa-section-title {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sa-section-title i { color: #a78bfa; }


.sa-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sa-qa-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: rgba(255,255,255,.75);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s;
}
.sa-qa-btn:hover { background: rgba(124,58,237,.2); border-color: rgba(124,58,237,.4); color: #c4b5fd; }
.sa-qa-btn i { font-size: 13px; }


.sa-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
}
.sa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.sa-table thead tr { background: rgba(255,255,255,.04); }
.sa-table th {
  padding: 10px 12px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(255,255,255,.4);
  border-bottom: 1px solid rgba(255,255,255,.06);
  white-space: nowrap;
}
.sa-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  color: rgba(255,255,255,.8);
  vertical-align: middle;
}
.sa-table tr:last-child td { border-bottom: none; }
.sa-table tr:hover td { background: rgba(255,255,255,.02); }


.sa-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.1);
}
.sa-badge-free    { background: rgba(255,255,255,.08); color: rgba(255,255,255,.5); }
.sa-badge-pro     { background: rgba(124,58,237,.2);  color: #c4b5fd; border-color: rgba(124,58,237,.3); }
.sa-badge-studio  { background: rgba(59,130,246,.2);  color: #93c5fd; border-color: rgba(59,130,246,.3); }
.sa-badge-ok      { background: rgba(16,185,129,.15); color: #34d399; border-color: rgba(16,185,129,.3); }
.sa-badge-danger  { background: rgba(248,113,113,.15); color: #f87171; border-color: rgba(248,113,113,.3); }
.sa-badge-superadmin { background: rgba(251,191,36,.15); color: #fbbf24; border-color: rgba(251,191,36,.3); }
.sa-badge-admin      { background: rgba(124,58,237,.15); color: #a78bfa; border-color: rgba(124,58,237,.3); }
.sa-badge-user       { background: rgba(255,255,255,.08); color: rgba(255,255,255,.5); }


.sa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
  text-decoration: none;
}
.sa-btn-primary  { background: linear-gradient(135deg,#7c3aed,#3b82f6); color: #fff; }
.sa-btn-primary:hover { filter: brightness(1.1); }
.sa-btn-secondary { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.1); }
.sa-btn-secondary:hover { background: rgba(255,255,255,.14); color: #fff; }
.sa-btn-danger { background: rgba(248,113,113,.15); color: #f87171; border-color: rgba(248,113,113,.25); }
.sa-btn-danger:hover { background: rgba(248,113,113,.25); }
.sa-btn-edit { background: rgba(59,130,246,.15); color: #60a5fa; border-color: rgba(59,130,246,.25); }
.sa-btn-edit:hover { background: rgba(59,130,246,.25); }
.sa-btn-sm { padding: 5px 9px; font-size: 11px; }
.sa-btn-xs { padding: 3px 7px; font-size: 10px; }


.sa-search-form {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sa-search-form input {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: #fff;
  padding: 7px 12px;
  font-size: 12px;
  outline: none;
  min-width: 220px;
}
.sa-search-form input:focus { border-color: #a78bfa; }
.sa-search-form button {
  background: rgba(124,58,237,.25);
  border: 1px solid rgba(124,58,237,.35);
  color: #a78bfa;
  border-radius: 8px;
  padding: 7px 12px;
  cursor: pointer;
  font-size: 12px;
}


.sa-tpl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 4px;
}
.sa-tpl-card {
  background: #1a1a2a;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .15s, border-color .15s;
}
.sa-tpl-card:hover { transform: translateY(-2px); border-color: rgba(124,58,237,.3); }
.sa-tpl-thumb {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  background: rgba(255,255,255,.04);
}
.sa-tpl-info { padding: 10px 12px; }
.sa-tpl-info strong { display: block; font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sa-tpl-info small { display: block; font-size: 10px; color: rgba(255,255,255,.4); margin-top: 2px; }
.sa-tpl-badges { margin-top: 6px; display: flex; gap: 4px; flex-wrap: wrap; }
.sa-tpl-actions { padding: 8px 12px; border-top: 1px solid rgba(255,255,255,.06); display: flex; gap: 6px; }


.sa-sys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.sa-sys-card {
  background: #1a1a2a;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.sa-sys-card > i { font-size: 18px; color: #a78bfa; width: 22px; text-align: center; flex-shrink: 0; }
.sa-sys-card strong { display: block; color: rgba(255,255,255,.5); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.sa-sys-card span { display: block; color: #fff; font-weight: 600; margin-top: 2px; }


.sa-code {
  font-family: monospace;
  font-size: 10px;
  background: rgba(255,255,255,.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: #a78bfa;
}


.sa-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.sa-modal-box {
  background: #1a1a2a;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,.7);
  animation: saModalIn .15s ease;
}
.sa-modal-lg { max-width: 660px; }
@keyframes saModalIn { from{opacity:0;transform:scale(.95)} to{opacity:1;transform:scale(1)} }

.sa-modal-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sa-modal-hdr strong { font-size: 14px; font-weight: 700; color: #fff; }
.sa-modal-hdr button {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.5);
  cursor: pointer;
  font-size: 14px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.sa-modal-hdr button:hover { background: rgba(255,255,255,.1); color: #fff; }


.sa-form {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sa-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.sa-form-row { display: flex; flex-direction: column; gap: 5px; }
.sa-form-row label { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.6); }
.sa-form-row-check { flex-direction: row; align-items: center; }
.sa-form-row-check label { font-size: 12px; color: rgba(255,255,255,.7); flex-direction: row; gap: 8px; cursor: pointer; }
.sa-req { color: #f87171; }
.sa-input {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: #fff;
  padding: 9px 12px;
  font-size: 12px;
  outline: none;
  transition: border-color .15s;
  font-family: inherit;
}
.sa-input:focus { border-color: #a78bfa; }
.sa-input-ro { opacity: .6; cursor: not-allowed; }
.sa-select {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: #fff;
  padding: 9px 12px;
  font-size: 12px;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  appearance: auto;
}
.sa-select:focus { border-color: #a78bfa; }
.sa-form-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.06);
}


@media (max-width: 768px) {
  .sa-sidebar { display: none; }
  .sa-sidebar.open { display: flex; position: fixed; inset: 0; z-index: 999; width: 240px; }
  .sa-grid-stats { grid-template-columns: 1fr 1fr; padding: 14px; gap: 10px; }
  .sa-section { padding: 12px 14px; }
  .sa-topbar { padding: 10px 14px; }
  .sa-tpl-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .sa-form-grid { grid-template-columns: 1fr; }
}




.sa-nav-group-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.25);
  padding: 10px 12px 4px;
  margin-top: 4px;
}


.sa-section-desc {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin: -10px 0 16px;
  line-height: 1.5;
}


.sa-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}
.sa-card-hdr {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}


.sa-form-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.sa-form-row-full {
  grid-column: 1 / -1;
}


.sa-textarea {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: #fff;
  padding: 9px 12px;
  font-size: 12px;
  outline: none;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  transition: border-color .15s;
}
.sa-textarea:focus { border-color: #a78bfa; }


.sa-color-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sa-color-row input[type="color"] {
  width: 42px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  padding: 2px;
  flex-shrink: 0;
}
.sa-input-sm {
  width: 100px;
}


.sa-hint {
  font-size: 10px;
  color: rgba(255,255,255,.3);
  margin-top: 3px;
  display: block;
}


.sa-info-box {
  background: rgba(59,130,246,.08);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 11px;
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.sa-info-box > i { color: #60a5fa; margin-top: 1px; flex-shrink: 0; }
.sa-info-box a { color: #60a5fa; }


@media (max-width: 960px) {
  .sa-form-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sa-form-grid-3 { grid-template-columns: 1fr; }
  .sa-form-grid   { grid-template-columns: 1fr; }
  .sa-nav-group-label { padding: 8px 12px 3px; }
}
