/* Diseño compartido para todas las páginas autenticadas. Conserva los colores de Misión Jardines. */
body.mj-shared-sidebar-enabled {
  --mj-surface:#fff;
  --mj-background:#f5f7fa;
  --mj-border:#dfe5ec;
  --mj-shadow:0 14px 36px rgba(26,45,66,.065);
  color:#1d2c40!important;
  background:var(--mj-background)!important;
  font-size:14px;
}
body.mj-shared-sidebar-enabled .mj-shared-sidebar {
  border-right:1px solid var(--mj-border)!important;
  box-shadow:10px 0 35px rgba(29,47,68,.045)!important;
}
.mj-shared-sidebar .mj-side-inner { background:#fff!important; }
.mj-shared-sidebar .mj-side-group { border-bottom:1px solid #f0f2f4!important;padding-bottom:10px!important; }
.mj-shared-sidebar .mj-side-group:last-child { border-bottom:0!important; }
.mj-shared-sidebar .mj-side-logo { height:90px!important;flex-basis:90px!important;background:#fff!important;border:0!important; }
.mj-shared-sidebar .mj-side-logo img { width:198px!important;height:100px!important;max-width:198px!important; }
.mj-shared-sidebar .mj-side-community { padding:17px 11px 19px!important; }
.mj-shared-sidebar .mj-side-community strong { font-size:17px!important;letter-spacing:-.025em!important; }
.mj-shared-sidebar .mj-side-community span { margin-top:4px!important;font-size:12px!important; }
.mj-shared-sidebar .mj-side-nav { padding-top:19px!important; }
.mj-shared-sidebar .mj-side-label { margin-top:8px!important;padding-bottom:9px!important;font-size:11px!important;letter-spacing:.08em!important; }
.mj-shared-sidebar .mj-side-link { height:42px!important;padding:0 14px!important;font-size:13px!important; }
.mj-shared-sidebar .mj-side-link.active { box-shadow:inset 0 0 0 1px #f8e6d5!important; }
.mj-shared-sidebar .mj-side-account { min-height:56px!important;background:#f8fafc!important; }
.mj-shared-sidebar .mj-side-account strong { font-size:12px!important; }
.mj-shared-sidebar .mj-side-account small { font-size:10px!important; }
.mj-shared-sidebar .mj-side-support p { font-size:11px!important; }
.mj-shared-sidebar .mj-side-support>a { height:34px!important;font-size:11px!important; }
.mj-shared-sidebar .mj-side-logout { font-size:12px!important; }
body.mj-shared-sidebar-enabled .mj-account-top-copy strong { font-size:12px!important; }
body.mj-shared-sidebar-enabled .mj-account-top-copy small { font-size:10px!important; }

/* Superficies, secciones y jerarquía del contenido. */
body.mj-shared-sidebar-enabled :is(.hero,.hl-welcome) {
  border:1px solid #e8ded3!important;
  border-left:4px solid #df790f!important;
  border-radius:19px!important;
  background:linear-gradient(115deg,#fffaf5 0%,#fff 58%,#f8f9fc 100%)!important;
  box-shadow:var(--mj-shadow)!important;
}
body.mj-shared-sidebar-enabled .hl-welcome { padding:25px 28px!important; }
body.mj-home.mj-shared-sidebar-enabled .topbar { background:#fff!important;border-bottom-color:#dfe5ec!important;box-shadow:0 4px 18px rgba(23,39,57,.035)!important; }
body.mj-shared-sidebar-enabled main :is(.hl-kpi,.metric,.metric-card,.stat-card) { border-top:3px solid #edab67!important; }
body.mj-shared-sidebar-enabled main :is(.hl-kpi,.metric,.metric-card,.stat-card):nth-child(2) { border-top-color:#9bd5bb!important; }
body.mj-shared-sidebar-enabled main :is(.hl-kpi,.metric,.metric-card,.stat-card):nth-child(3) { border-top-color:#b4ccee!important; }
body.mj-shared-sidebar-enabled main :is(.hl-kpi,.metric,.metric-card,.stat-card):nth-child(4) { border-top-color:#dbbce5!important; }
body.mj-shared-sidebar-enabled :is(.panel,.card,.hl-card,.kpi-card,.metric-card,.stat-card) {
  border-color:var(--mj-border)!important;
  border-radius:17px!important;
  box-shadow:var(--mj-shadow)!important;
}
body.mj-shared-sidebar-enabled :is(.panel-head,.card-head) {
  border-bottom-color:#e7ecf2!important;
}
body.mj-shared-sidebar-enabled main h1 { letter-spacing:-.045em!important; }
body.mj-shared-sidebar-enabled main :is(h2,h3) { letter-spacing:-.025em; }
body.mj-shared-sidebar-enabled main :is(.hero,.hl-welcome) p { font-size:14px!important;line-height:1.6!important; }
body.mj-shared-sidebar-enabled main :is(.panel,.card,.hl-card) p { line-height:1.55; }
body.mj-shared-sidebar-enabled main :is(.eyebrow,.kicker,.hl-eyebrow) { font-size:11px!important;letter-spacing:.105em!important; }
body.mj-shared-sidebar-enabled :is(.filters,.filterbar,.filter-row) {
  gap:13px!important;
  border-color:#e3e9f0!important;
  border-radius:14px!important;
}
body.mj-shared-sidebar-enabled main label { color:#3d4e65!important;font-size:12px!important;font-weight:700!important; }
body.mj-shared-sidebar-enabled main :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea) {
  border-color:#d5dee8!important;
  border-radius:10px!important;
  color:#263850!important;
  background-color:#fff!important;
  font-size:13px!important;
}
body.mj-shared-sidebar-enabled main :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea):focus-visible {
  outline:0!important;border-color:#df8529!important;box-shadow:0 0 0 3px rgba(231,122,24,.13)!important;
}
body.mj-shared-sidebar-enabled main :is(.btn,.btn-primary,.btn-secondary,.action-button,.hl-action,.hl-refresh) {
  border-radius:10px!important;font-size:12px!important;font-weight:700!important;letter-spacing:0!important;
  transition:transform .15s ease,background .15s ease,box-shadow .15s ease!important;
}
body.mj-shared-sidebar-enabled main :is(.btn,.btn-primary,.btn-secondary,.action-button,.hl-action,.hl-refresh):not(:disabled):hover {
  transform:translateY(-1px);
  box-shadow:0 9px 20px rgba(28,44,64,.12)!important;
}
body.mj-shared-sidebar-enabled main :is(.btn-primary,.hl-action.primary,.action-button.primary) {
  background:#dd740e!important;color:#fff!important;border-color:#dd740e!important;
}
body.mj-shared-sidebar-enabled main :is(.btn-primary,.hl-action.primary,.action-button.primary):not(:disabled):hover {
  background:#bf5e06!important;
}
body.mj-shared-sidebar-enabled main :is(table) { border-collapse:separate;border-spacing:0; }
body.mj-shared-sidebar-enabled main table thead th { font-size:11px!important;letter-spacing:.035em!important; }
body.mj-shared-sidebar-enabled main table tbody tr { transition:background-color .15s ease; }
body.mj-shared-sidebar-enabled main table tbody tr:hover { background:#fff9f2!important; }
body.mj-shared-sidebar-enabled main table td { border-bottom-color:#e9edf2!important;font-size:12px!important;line-height:1.5; }
body.mj-shared-sidebar-enabled :is(.modal,.modal-shell,.edit-modal) :is(input,select,textarea):focus-visible { border-color:#df8529!important;box-shadow:0 0 0 3px rgba(231,122,24,.13)!important; }
body.mj-shared-sidebar-enabled .history-all { display:inline-flex;margin-bottom:6px;color:#ac5509;font-size:12px;font-weight:750;text-decoration:none; }
body.mj-shared-sidebar-enabled .history-all:hover { text-decoration:underline; }
@media(max-width:820px){body.mj-shared-sidebar-enabled :is(.hero,.hl-welcome){border-radius:15px!important}body.mj-shared-sidebar-enabled .mj-side-logo{height:77px!important;flex-basis:77px!important}}
@media(prefers-reduced-motion:reduce){body.mj-shared-sidebar-enabled main :is(.btn,.btn-primary,.btn-secondary,.action-button,.hl-action,.hl-refresh){transition:none!important}}
