:root {
  --lv-yellow: #fed700;
  --lv-yellow-strong: #e7c300;
  --lv-yellow-soft: #fff8cc;
  --lv-ink: #16191d;
  --lv-ink-soft: #2a2f36;
  --lv-muted: #69717c;
  --lv-muted-light: #9299a3;
  --lv-line: #e5e8ec;
  --lv-line-strong: #d7dbe0;
  --lv-bg: #f4f6f8;
  --lv-surface: #fff;
  --lv-sidebar: #12161b;
  --lv-success: #16845b;
  --lv-success-soft: #e7f7f0;
  --lv-warning: #9a6800;
  --lv-warning-soft: #fff4ce;
  --lv-danger: #c43d4d;
  --lv-danger-soft: #fff0f1;
  --lv-blue: #3267d6;
  --lv-radius-sm: 9px;
  --lv-radius: 14px;
  --lv-radius-lg: 20px;
  --lv-shadow-sm: 0 1px 2px rgba(16, 24, 40, .04);
  --lv-shadow: 0 10px 30px rgba(16, 24, 40, .07);
}

html:has(body.lv-app-admin) { background: var(--lv-bg); padding-top: 0 !important; }
body.lv-app-admin {
  background: var(--lv-bg);
  color: var(--lv-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  min-height: 100vh;
}
body.lv-app-admin * { box-sizing: border-box; }
.lv-icon { display: block; height: 20px; width: 20px; }

/* Estrutura principal */
.lv-app-admin #wpcontent {
  margin-left: 276px !important;
  min-height: 100vh;
  padding: 0 !important;
}
.lv-admin-main {
  box-sizing: border-box;
  margin: 0 auto !important;
  max-width: 1540px !important;
  padding: 30px 32px 64px !important;
}
.lv-admin-topbar {
  align-items: center;
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(215, 219, 224, .85);
  backdrop-filter: blur(16px);
  color: var(--lv-muted);
  display: flex;
  font-size: 12px;
  font-weight: 650;
  height: 64px;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 90;
}
.lv-admin-topbar > div { align-items: center; display: flex; gap: 9px; }
.lv-admin-topbar time { color: var(--lv-ink-soft); font-variant-numeric: tabular-nums; }
.lv-topbar-dot { background: #24b47e; border: 3px solid #dff7ed; border-radius: 50%; height: 11px; width: 11px; }

/* Sidebar */
.lv-app-header {
  background: var(--lv-sidebar);
  border-right: 1px solid #242a31;
  box-shadow: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100vh;
  left: 0;
  overflow-y: auto;
  padding: 22px 16px 16px;
  position: fixed;
  scrollbar-color: #343b44 transparent;
  scrollbar-width: thin;
  top: 0;
  width: 276px;
  z-index: 1000;
}
.lv-app-sidebar-actions { display: none; }
.lv-app-brand {
  align-items: center;
  color: #fff !important;
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  min-height: 48px;
  padding: 0 10px;
  text-decoration: none !important;
}
.lv-app-brand > span:first-child,
.lv-auth-brand > span:first-child {
  align-items: center;
  background: var(--lv-yellow);
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(254, 215, 0, .16);
  color: #111;
  display: inline-flex;
  flex: 0 0 40px;
  font-size: 14px;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  letter-spacing: -.08em;
}
.lv-brand-copy { display: grid; gap: 1px; }
.lv-brand-copy strong { font-size: 19px; letter-spacing: -.03em; line-height: 1.1; }
.lv-brand-copy small { color: #858d98; font-size: 10px; font-weight: 650; letter-spacing: .055em; text-transform: uppercase; }
.lv-app-nav { display: flex; flex: 1; flex-direction: column; gap: 4px; width: 100%; }
.lv-app-nav-label {
  color: #69717c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  margin: 17px 12px 6px;
  text-transform: uppercase;
}
.lv-app-nav-label:first-child { margin-top: 0; }
.lv-app-nav-item {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #aeb5be !important;
  display: flex;
  font-size: 13px;
  font-weight: 620;
  gap: 11px;
  min-height: 42px;
  padding: 9px 11px;
  text-decoration: none !important;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.lv-app-nav-item:hover { background: #1d232a; color: #fff !important; transform: translateX(2px); }
.lv-app-nav-item.is-active {
  background: linear-gradient(100deg, rgba(254, 215, 0, .18), rgba(254, 215, 0, .07));
  border-color: rgba(254, 215, 0, .24);
  color: #fff !important;
}
.lv-app-nav-item.is-active::after { background: var(--lv-yellow); border-radius: 99px; content: ""; height: 18px; margin-left: auto; width: 3px; }
.lv-app-nav-icon {
  align-items: center;
  color: #757e89;
  display: inline-flex;
  flex: 0 0 22px;
  height: 22px;
  justify-content: center;
  width: 22px;
}
.lv-app-nav-item:hover .lv-app-nav-icon { color: #d7dbe0; }
.lv-app-nav-item.is-active .lv-app-nav-icon { color: var(--lv-yellow); }
.lv-app-footer { border-top: 1px solid #2a3037; display: grid; gap: 10px; padding-top: 14px; }
.lv-app-wp-back {
  align-items: center;
  border-radius: 10px;
  color: #8f98a3 !important;
  display: flex;
  font-size: 11px;
  font-weight: 700;
  gap: 10px;
  padding: 9px 11px;
  text-decoration: none !important;
}
.lv-app-wp-back:hover { background: #1d232a; color: #fff !important; }
.lv-app-user {
  align-items: center;
  background: #1a2026;
  border: 1px solid #2a3139;
  border-radius: 12px;
  display: flex;
  gap: 9px;
  padding: 10px !important;
}
.lv-user-avatar {
  align-items: center;
  background: var(--lv-yellow);
  border-radius: 9px;
  color: #111;
  display: flex !important;
  flex: 0 0 34px;
  font-size: 13px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
}
.lv-user-copy { display: grid !important; flex: 1; line-height: 1.25; min-width: 0; }
.lv-user-copy strong { color: #f5f7f8; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-user-copy small { color: #7f8994; font-size: 10px; }
.lv-app-user form { margin: 0; }
.lv-app-user button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #818a95;
  cursor: pointer;
  display: flex;
  height: 32px;
  justify-content: center;
  padding: 0;
  width: 32px;
}
.lv-app-user button:hover { background: #292f37; color: var(--lv-yellow); }
.lv-app-user button .lv-icon { height: 17px; width: 17px; }

/* Cabeçalhos e tipografia */
.lv-app-admin h1,
.lv-app-admin h2,
.lv-app-admin h3 { color: var(--lv-ink); font-weight: 760; letter-spacing: -.03em; }
.lv-conecta-page-header {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--lv-line);
  border-radius: 0;
  box-shadow: none;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 0 24px !important;
  padding: 4px 0 24px !important;
}
.lv-conecta-page-header h1 { font-size: clamp(25px, 2vw, 32px); margin: 2px 0 6px; }
.lv-conecta-page-header p { color: var(--lv-muted); font-size: 13px; margin: 0; max-width: 720px; }
.lv-ui-eyebrow {
  color: #8b7600 !important;
  display: block;
  font-size: 9px !important;
  font-weight: 850 !important;
  letter-spacing: .13em !important;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.lv-header-actions { align-items: center; display: flex; gap: 8px; }
.lv-dashboard-header {
  background:
    radial-gradient(circle at 86% 12%, rgba(254, 215, 0, .18), transparent 28%),
    linear-gradient(125deg, #15191e, #20262d);
  border: 1px solid #2b323a;
  border-radius: var(--lv-radius-lg);
  box-shadow: 0 18px 45px rgba(15, 20, 25, .14);
  min-height: 174px;
  overflow: hidden;
  padding: 30px 32px !important;
  position: relative;
}
.lv-dashboard-header::after { border: 1px solid rgba(254, 215, 0, .13); border-radius: 50%; content: ""; height: 190px; position: absolute; right: -68px; top: -105px; width: 190px; }
.lv-dashboard-header > * { position: relative; z-index: 1; }
.lv-dashboard-header h1 { color: #fff; font-size: clamp(28px, 3vw, 38px); }
.lv-dashboard-header p { color: #aeb6c0; font-size: 14px; }
.lv-dashboard-header .lv-ui-eyebrow { color: var(--lv-yellow) !important; }
.lv-dashboard-section-heading { align-items: end; display: flex; justify-content: space-between; margin: 30px 0 14px; }
.lv-dashboard-section-heading h2 { font-size: 18px; margin: 2px 0 0; }
.lv-dashboard-section-heading > span { color: var(--lv-muted-light); font-size: 11px; }

/* Botões e campos */
.lv-button,
.lv-app-admin .button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--lv-line-strong);
  border-radius: 10px;
  box-shadow: var(--lv-shadow-sm);
  color: var(--lv-ink-soft) !important;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  gap: 7px;
  justify-content: center;
  line-height: 1.2;
  min-height: 40px;
  padding: 9px 15px;
  text-decoration: none !important;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.lv-button:hover { border-color: #aeb4bc; box-shadow: 0 6px 16px rgba(16, 24, 40, .09); transform: translateY(-1px); }
.lv-button-primary { background: var(--lv-yellow); border-color: var(--lv-yellow); color: #161616 !important; box-shadow: 0 8px 18px rgba(231, 195, 0, .2); }
.lv-button-primary:hover { background: #ffe22f; border-color: #ffe22f; }
.lv-button .lv-icon { height: 17px; width: 17px; }
.lv-button-compact { min-height: 34px; padding: 7px 11px; }
.lv-danger { border-color: #f0c8cd !important; color: var(--lv-danger) !important; }
.lv-danger:hover { background: var(--lv-danger-soft) !important; border-color: #e6aab2 !important; }
.lv-app-admin label { color: #343a42; font-size: 12px; font-weight: 720; }
.lv-field { display: grid; gap: 7px; }
.lv-app-admin input[type=text],
.lv-app-admin input[type=email],
.lv-app-admin input[type=url],
.lv-app-admin input[type=tel],
.lv-app-admin input[type=search],
.lv-app-admin input[type=number],
.lv-app-admin input[type=date],
.lv-app-admin input[type=time],
.lv-app-admin input[type=password],
.lv-app-admin select,
.lv-app-admin textarea {
  appearance: none;
  background: #fbfcfd;
  border: 1px solid var(--lv-line-strong);
  border-radius: 10px;
  box-shadow: inset 0 1px 1px rgba(16, 24, 40, .02);
  color: var(--lv-ink);
  font: inherit;
  min-height: 43px;
  outline: 0;
  padding: 9px 12px;
  transition: background .15s, border-color .15s, box-shadow .15s;
  width: 100%;
}
.lv-app-admin select { appearance: auto; cursor: pointer; }
.lv-app-admin textarea { line-height: 1.55; min-height: 118px; resize: vertical; }
.lv-app-admin input:focus,
.lv-app-admin select:focus,
.lv-app-admin textarea:focus { background: #fff; border-color: #bca000; box-shadow: 0 0 0 3px rgba(254, 215, 0, .18); }
.lv-app-admin input::placeholder,
.lv-app-admin textarea::placeholder { color: #a0a7b0; }
.lv-app-admin input[type=checkbox],
.lv-app-admin input[type=radio] { accent-color: var(--lv-ink); height: 17px; width: 17px; }

/* Cards e indicadores */
.lv-card {
  background: var(--lv-surface);
  border: 1px solid var(--lv-line);
  border-radius: var(--lv-radius);
  box-shadow: var(--lv-shadow-sm);
  margin-bottom: 20px;
  padding: 20px !important;
}
.lv-card-header {
  align-items: center;
  background: transparent !important;
  border-bottom: 1px solid var(--lv-line);
  border-radius: 0 !important;
  display: flex;
  justify-content: space-between;
  margin: -2px 0 18px !important;
  padding: 0 0 16px !important;
}
.lv-card-header > div { align-items: center; display: flex; gap: 11px; }
.lv-card-header > div > span:last-child { display: grid; gap: 1px; }
.lv-card-header h2 { font-size: 15px !important; letter-spacing: -.015em !important; margin: 0 !important; text-transform: none !important; }
.lv-card-header small { color: var(--lv-muted-light); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.lv-card-header > a { color: #776500; font-size: 11px; font-weight: 750; text-decoration: none; }
.lv-card-icon,
.lv-stat-icon {
  align-items: center;
  background: var(--lv-yellow-soft);
  border: 1px solid #f5e589;
  border-radius: 11px;
  color: #796600;
  display: inline-flex;
  justify-content: center;
}
.lv-card-icon { height: 38px; width: 38px; }
.lv-card-icon .lv-icon { height: 18px; width: 18px; }
.lv-stat-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 22px; }
.lv-stat-card {
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: var(--lv-radius);
  box-shadow: var(--lv-shadow-sm);
  color: var(--lv-ink) !important;
  display: grid;
  grid-template-columns: auto 1fr;
  min-height: 156px;
  overflow: hidden;
  padding: 17px;
  position: relative;
  text-decoration: none !important;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.lv-stat-card::after { background: var(--lv-yellow); bottom: 0; content: ""; height: 3px; left: 17px; opacity: 0; position: absolute; transition: opacity .18s, right .18s; right: calc(100% - 17px); }
.lv-stat-card:hover { border-color: #d0d4da; box-shadow: var(--lv-shadow); transform: translateY(-3px); }
.lv-stat-card:hover::after { opacity: 1; right: 17px; }
.lv-stat-icon { height: 38px; width: 38px; }
.lv-stat-icon .lv-icon { height: 18px; width: 18px; }
.lv-stat-label { align-self: center; color: var(--lv-muted); font-size: 11px; font-weight: 750; justify-self: end; letter-spacing: .05em; text-transform: uppercase; }
.lv-stat-card strong { align-self: end; font-size: 34px; font-variant-numeric: tabular-nums; grid-column: 1 / -1; letter-spacing: -.05em; line-height: 1; margin-top: 18px; }
.lv-stat-card small { align-items: center; color: var(--lv-muted-light); display: flex; font-size: 10px; font-weight: 650; grid-column: 1 / -1; justify-content: space-between; margin-top: 8px; }
.lv-stat-card small b { color: #9a8200; font-size: 15px; }
.lv-dashboard-row { align-items: start; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr) !important; margin-top: 18px; }
.lv-money-row { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.lv-money-row > div { background: #f7f8fa; border: 1px solid #eceef1; border-radius: 11px; display: grid; gap: 7px; padding: 15px; }
.lv-money-row span { color: var(--lv-muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lv-money-row strong { font-size: clamp(15px, 1.4vw, 19px); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.lv-money-row .is-income strong { color: var(--lv-success); }
.lv-money-row .is-expense strong { color: var(--lv-danger); }
.lv-money-row .is-balance { background: #191e24; border-color: #191e24; }
.lv-money-row .is-balance span { color: #89929d; }
.lv-money-row .is-balance strong { color: var(--lv-yellow); }
.lv-shortcut-list { display: grid; gap: 8px; }
.lv-shortcut-list a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--lv-ink) !important;
  display: grid;
  gap: 1px 10px;
  grid-template-columns: 36px 1fr auto;
  padding: 9px;
  text-decoration: none !important;
}
.lv-shortcut-list a:hover { background: #f8f9fa; border-color: var(--lv-line); }
.lv-shortcut-list a > span { align-items: center; background: #f0f2f4; border-radius: 9px; color: #5d6570; display: flex; grid-row: span 2; height: 36px; justify-content: center; width: 36px; }
.lv-shortcut-list a .lv-icon { height: 17px; width: 17px; }
.lv-shortcut-list strong { font-size: 11px; }
.lv-shortcut-list small { color: var(--lv-muted-light); font-size: 9px; }
.lv-shortcut-list b { color: #9da3ab; grid-column: 3; grid-row: 1 / span 2; }

/* Listas, tabelas e formulários */
.lv-filter-bar { align-items: end; display: flex; gap: 10px; margin-bottom: 18px; }
.lv-filter-bar label { display: grid; flex: 1; gap: 6px; max-width: 520px; }
.lv-search-control { position: relative; }
.lv-search-control > .lv-icon { color: #8c949e; height: 17px; left: 12px; pointer-events: none; position: absolute; top: 13px; width: 17px; }
.lv-search-control input { padding-left: 39px !important; }
.lv-result-count { color: var(--lv-muted); font-size: 11px; margin-left: auto; white-space: nowrap; }
.lv-result-count strong { color: var(--lv-ink); font-size: 13px; }
.lv-table-wrap { border: 1px solid var(--lv-line); border-radius: 12px; max-width: 100%; overflow-x: auto; }
.lv-table { background: #fff; border: 0 !important; border-collapse: separate; border-radius: 0 !important; border-spacing: 0; box-shadow: none !important; min-width: 720px; overflow: visible !important; width: 100%; }
.lv-table th { background: #f7f8fa !important; border-bottom: 1px solid var(--lv-line) !important; color: #68717c !important; font-size: 9px !important; font-weight: 850 !important; letter-spacing: .085em !important; padding: 12px 14px !important; text-align: left; text-transform: uppercase; white-space: nowrap; }
.lv-table td { border-bottom: 1px solid #edf0f2 !important; color: #353b43; font-size: 12px; max-width: 330px; padding: 13px 14px !important; text-align: left; vertical-align: middle; }
.lv-table tbody tr:last-child td { border-bottom: 0 !important; }
.lv-table tbody tr:nth-child(even) { background: #fcfcfd !important; }
.lv-table tbody tr:hover { background: #fffdf2 !important; }
.lv-table td:last-child .lv-actions { flex-wrap: nowrap; justify-content: flex-end; }
.lv-table td:last-child { width: 1%; white-space: nowrap; }
.lv-money-value { color: var(--lv-ink); font-variant-numeric: tabular-nums; }
.lv-badge {
  align-items: center;
  background: #eef0f2;
  border: 1px solid #e1e4e7;
  border-radius: 999px;
  color: #59616b;
  display: inline-flex;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .04em;
  padding: 5px 9px;
  text-transform: uppercase;
}
.lv-badge::before { background: currentColor; border-radius: 50%; content: ""; height: 5px; margin-right: 6px; opacity: .75; width: 5px; }
.lv-badge.is-success { background: var(--lv-success-soft); border-color: #ccecdc; color: var(--lv-success); }
.lv-badge.is-warning { background: var(--lv-warning-soft); border-color: #f3dfa4; color: var(--lv-warning); }
.lv-badge.is-danger { background: var(--lv-danger-soft); border-color: #f3d4d8; color: var(--lv-danger); }
.lv-form-grid { display: grid; gap: 17px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lv-field-wide { grid-column: 1 / -1; }
.lv-form-card { scroll-margin-top: 84px; }
.lv-form-card .lv-actions { border-top: 1px solid var(--lv-line); margin-top: 3px; padding-top: 18px; }
.lv-content-editor { font-family: ui-monospace, SFMono-Regular, Consolas, monospace !important; min-height: 260px !important; }
.lv-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; }
.lv-actions form { margin: 0; }
.lv-pagination { display: flex; gap: 6px; margin-top: 16px; }
.lv-pagination a { align-items: center; background: #fff; border: 1px solid var(--lv-line); border-radius: 9px; color: var(--lv-muted); display: flex; font-size: 11px; height: 35px; justify-content: center; text-decoration: none; width: 35px; }
.lv-pagination a.is-current { background: var(--lv-ink); border-color: var(--lv-ink); color: var(--lv-yellow); }
.lv-permissions { border: 1px solid var(--lv-line); border-radius: 12px; display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); padding: 16px; }
.lv-permissions legend { color: var(--lv-ink); font-size: 12px; font-weight: 800; padding: 0 7px; }
.lv-permissions label { align-items: center; display: flex; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; gap: 7px; }
.lv-cms-grid { grid-template-columns: minmax(320px, .8fr) minmax(440px, 1.2fr) !important; }
.lv-list-row { align-items: center; border-bottom: 1px solid var(--lv-line); display: flex; gap: 12px; justify-content: space-between; padding: 13px 2px; }
.lv-list-row:last-child { border-bottom: 0; }
.lv-list-row > div:first-child { display: grid; gap: 3px; }
.lv-list-row small { color: var(--lv-muted); font-size: 10px; }
.lv-message-cell { min-width: 260px; white-space: normal; }
.lv-table code { background: #f0f2f4; border-radius: 6px; color: #3f4750; font-size: 10px; padding: 4px 7px; }
.lv-empty { border: 1px dashed #cfd4da; border-radius: 10px; color: var(--lv-muted); padding: 30px; text-align: center; }
.lv-notice { background: #fff; border: 1px solid var(--lv-line); border-left: 4px solid var(--lv-yellow); border-radius: 10px; box-shadow: var(--lv-shadow-sm); margin: 0 0 18px; padding: 13px 15px; }
.lv-notice.is-error { border-left-color: var(--lv-danger); }
.lv-notice.is-success { border-left-color: var(--lv-success); }

/* Acesso */
.lv-auth-body {
  align-items: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(254, 215, 0, .13), transparent 25%),
    radial-gradient(circle at 83% 80%, rgba(254, 215, 0, .07), transparent 24%),
    #11151a !important;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 28px;
}
.lv-auth-shell { display: grid; gap: 22px; max-width: 470px; width: 100%; }
.lv-auth-brand { align-items: center; color: #fff !important; display: flex; font-size: 20px; font-weight: 800; gap: 10px; justify-content: center; letter-spacing: -.035em; text-decoration: none !important; }
.lv-auth-card { background: #fff; border: 1px solid rgba(255, 255, 255, .7); border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .34); padding: 32px !important; }
.lv-auth-card h1 { font-size: 28px; margin: 4px 0 8px; }
.lv-auth-card > p { color: var(--lv-muted); margin: 0 0 24px; }
.lv-auth-card .lv-button { margin-top: 2px; width: 100%; }
.lv-auth-card-wide { max-width: 620px; }
.lv-auth-card small { color: var(--lv-muted); font-weight: 500; }
.lv-auth-card .lv-notice { margin: 16px 0; }

.lv-app-mobile-bar,
.lv-app-sidebar-overlay { display: none; }

@media (max-width: 1240px) {
  .lv-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lv-permissions { grid-template-columns: repeat(3, 1fr); }
  .lv-dashboard-row { grid-template-columns: 1fr !important; }
}

@media (max-width: 900px) {
  .lv-app-admin #wpcontent { margin-left: 0 !important; padding-top: 64px !important; }
  .lv-admin-topbar { display: none; }
  .lv-admin-main { padding: 22px 16px 50px !important; }
  .lv-app-mobile-bar {
    align-items: center;
    background: var(--lv-sidebar);
    border-bottom: 1px solid #2a3037;
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    height: 64px;
    left: 0;
    padding: 8px 12px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1002;
  }
  .lv-app-mobile-open,
  .lv-app-mobile-close { align-items: center; background: transparent; border: 0; border-radius: 9px; color: #fff; cursor: pointer; display: flex; font-size: 22px; height: 40px; justify-content: center; width: 40px; }
  .lv-mobile-wordmark { color: #fff !important; font-size: 16px; font-weight: 800; justify-self: center; text-decoration: none; }
  .lv-app-sidebar-overlay { background: rgba(5, 8, 12, .62); inset: 0; opacity: 0; position: fixed; transition: opacity .2s; z-index: 1003; }
  .lv-app-header {
    gap: 18px;
    max-width: 320px;
    padding-top: 14px;
    transform: translateX(-100%);
    transition: transform .22s ease;
    width: min(86vw, 320px);
    z-index: 1004;
  }
  .lv-app-sidebar-actions { display: flex; justify-content: flex-end; margin-bottom: -50px; position: relative; z-index: 2; }
  .lv-app-brand { padding-right: 48px; }
  .lv-mobile-menu-open { overflow: hidden; }
  .lv-mobile-menu-open .lv-app-header { transform: translateX(0); }
  .lv-mobile-menu-open .lv-app-sidebar-overlay { display: block; opacity: 1; }
  .lv-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lv-cms-grid { grid-template-columns: 1fr !important; }
  .lv-permissions { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .lv-admin-main { padding-left: 12px !important; padding-right: 12px !important; }
  .lv-conecta-page-header { align-items: flex-start; flex-direction: column; gap: 16px; padding-bottom: 18px !important; }
  .lv-conecta-page-header .lv-button,
  .lv-header-actions { width: 100%; }
  .lv-dashboard-header { min-height: 0; padding: 24px 20px !important; }
  .lv-dashboard-header::after { display: none; }
  .lv-dashboard-section-heading > span { display: none; }
  .lv-stat-grid,
  .lv-form-grid,
  .lv-money-row { grid-template-columns: 1fr; }
  .lv-stat-card { min-height: 138px; }
  .lv-filter-bar { align-items: stretch; flex-direction: column; }
  .lv-filter-bar label { max-width: none; }
  .lv-result-count { margin-left: 0; }
  .lv-filter-bar .lv-button { width: 100%; }
  .lv-field-wide { grid-column: auto; }
  .lv-permissions { grid-template-columns: 1fr; }
  .lv-card { padding: 16px !important; }
  .lv-auth-body { padding: 16px; }
  .lv-auth-card { border-radius: 16px; padding: 23px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
