/* Edición conservadora del panel: patrón de navegación de NubeContable,
   aplicado a módulos y permisos municipales preexistentes. */
:root {--navy:#072e51;--navy-dark:#052441;--red:#087a42;--border:#dce5ec;--soft:#f0f4f8;--ink:#183b56;--municipal-green:#087a42;--municipal-yellow:#f2c33e}
body {font-size:15px;line-height:1.55;background:#eef2f6;color:#203b51;}
h1,h2,h3,h4 {letter-spacing:-.02em;}
a:hover {color:#087a42;}
.admin-sidebar {width:277px;background:#072e55;box-shadow:6px 0 32px rgba(5,32,57,.08);}
.admin-brand {min-height:99px;padding:15px 20px;gap:13px;border-bottom:1px solid #ffffff25;}
.admin-brand>span {width:57px;height:70px;flex:none;border:0;background:transparent;}
.admin-brand>span img {width:100%;height:100%;object-fit:contain;}
.admin-brand strong {font-size:18px;color:#fff;letter-spacing:0;}
.admin-brand small {font-size:12px;color:#d2e5e8;letter-spacing:.025em;margin-top:5px;}
.sidebar-menu {padding:16px 11px 36px;}
.sidebar-caption {font-size:12px;color:#a3c6d1;letter-spacing:.055em;margin:23px 13px 10px;}
.sidebar-link {font-size:15px;line-height:1.35;min-height:48px;padding:12px 12px;gap:12px;border-radius:7px;color:#e5eef4;font-weight:600;}
.sidebar-link i {font-size:20px;width:25px;color:#b9d1df;}
.sidebar-link:hover,.sidebar-link.selected {color:#fff;background:#12506b;border-left-color:#f2c33e;}
.sidebar-link:hover i,.sidebar-link.selected i {color:#f2c33e;}
.sidebar-bottom {font-size:13px;color:#d1dfe6;padding:18px;}
.status-signal {background:#46c885;width:9px;height:9px;}
.admin-main {margin-left:277px;}
.admin-topbar {background:#072e55;min-height:96px;border-bottom:3px solid #087a42;padding:17px 28px;color:#fff;}
.admin-top-kicker {font-size:12px;letter-spacing:.03em;color:#f0cf67;}
.admin-topbar h1 {font-size:22px;margin-top:5px;color:#fff;}
.top-public {font-size:14px;color:#fff;border:1px solid #a4bdce;border-radius:7px;padding:10px 14px;}
.top-public:hover {color:#052441;background:#fff;}
.profile-chip {border-left:1px solid #ffffff2f;}
.profile-chip strong {font-size:14px;color:#fff;max-width:190px;}
.profile-chip small {font-size:12px;color:#d5e4f0;max-width:190px;}
.profile-avatar {width:41px;height:41px;background:#f2c33e;color:#072e55;}
.logout-button,.menu-toggle {color:#fff;}
.logout-button:hover,.menu-toggle:hover {color:#f2c33e;}
.admin-content {padding:27px;}
.admin-footer {font-size:13px;color:#597183;}
.dashboard-heading {display:flex;justify-content:space-between;align-items:center;gap:20px;padding:23px 27px;background:#fff;border-radius:16px;box-shadow:0 8px 22px rgba(22,51,80,.06);}
.dashboard-heading h2 {font-size:23px;color:#072e55;font-weight:800;margin:0 0 6px;}
.dashboard-heading h2 i {color:#087a42;}
.dashboard-heading p {font-size:15px;color:#617888;margin:0;}
.heading-label {display:inline-flex;align-items:center;gap:3px;padding:10px 13px;background:#e5f5eb;color:#087a42;border-radius:50px;font-size:13px;font-weight:800;white-space:nowrap;}
.welcome-admin {background:linear-gradient(110deg,#073d69 0%,#09784b 72%,#0e8e70 100%);border-radius:17px;min-height:174px;padding:30px 36px;box-shadow:0 9px 28px rgba(15,52,75,.10);}
.welcome-admin .eyebrow-admin {color:#f8d76d;font-size:13px;letter-spacing:.055em;}
.welcome-admin h2 {font-size:27px;margin-bottom:11px;}
.welcome-admin p:last-of-type {font-size:16px;color:#f1f8f5;}
.welcome-decoration {font-size:unset;transform:none;opacity:.17;align-self:stretch;display:flex;align-items:center;}
.welcome-decoration img {height:165px;width:auto;max-width:150px;object-fit:contain;}
.metric-card {border:1px solid #e1e8ed;border-radius:15px;min-height:173px;padding:24px 25px;box-shadow:0 8px 24px rgba(25,56,76,.05);}
.metric-card small {font-size:14px;color:#415d70;}
.metric-card strong {font-size:37px;color:#07365b;}
.metric-card>span:last-child {font-size:13px;color:#587083;}
.metric-icon {right:20px;top:22px;width:51px;height:51px;border-radius:12px;font-size:23px;color:#fff;background:#087a42;}
.row.g-3>.col-xl-3:nth-child(2) .metric-icon {background:#0c7d9d;}
.row.g-3>.col-xl-3:nth-child(3) .metric-icon {background:#e9ae15;color:#092f50;}
.row.g-3>.col-xl-3:nth-child(4) .metric-icon {background:#0b5b87;}
.admin-card {border:1px solid #e1e8ef;border-radius:15px;overflow:hidden;box-shadow:0 8px 26px rgba(28,55,77,.045);}
.admin-card-header {padding:23px 24px 19px;}
.admin-card-header h3 {font-size:19px;color:#0d3655;}
.eyebrow-admin {font-size:13px;letter-spacing:.065em;color:#087a42;}
.small-link {font-size:14px;color:#087a42;}
.dashboard-access-group {padding:19px 22px;border-bottom:1px solid #e9eef1;}
.dashboard-access-group:last-child {border-bottom:0;}
.dashboard-access-group h4 {font-size:15px;font-weight:800;color:#0d486a;text-transform:uppercase;margin:0 0 13px;}
.shortcut-grid {padding:0;gap:12px;}
.shortcut-grid a {background:#f8fafb;border:1px solid #e2e9ef;border-radius:13px;min-height:78px;padding:12px 15px;gap:12px;transition:box-shadow .15s,background .15s;}
.shortcut-grid a:hover {background:#eaf5ee;box-shadow:0 6px 12px rgba(29,70,52,.08);color:#0a4e31;}
.shortcut-grid strong {font-size:14px;color:#153b56;line-height:1.35;}
.shortcut-grid>a>i:first-child {font-size:24px;color:#087a42;}
.shortcut-grid>a>i:last-child {font-size:15px;color:#59829d;}
.shortcut-symbol {background:#e3f3e8;color:#087a42;width:43px;height:43px;flex:none;display:grid;place-items:center;border-radius:10px;}
.shortcut-symbol i {font-size:21px;}
.shortcut-grid a:nth-child(2n) .shortcut-symbol {background:#fff3c5;color:#9b7111;}
.activity-list {padding:13px 22px;}
.activity-list>div {padding:16px 0;}
.activity-list strong {font-size:14px;line-height:1.5;color:#24455b;}
.activity-list small {font-size:13px;color:#617b8d;}
.activity-dot {background:#f2c33e;border-color:#fff3d7;}
.list-heading h2,.mb-4>h2 {font-size:24px;}
.btn-admin-primary {font-size:15px;border-radius:7px;background:#087a42;border-color:#087a42;padding:12px 19px;}
.btn-admin-primary:hover {background:#055b34;color:#fff;border-color:#055b34;}
.btn-admin-outline {font-size:14px;border-radius:7px;}
.table-toolbar {font-size:14px;}
.admin-table {font-size:14px;}
.admin-table thead th {font-size:13px;padding:15px 17px;}
.admin-table td {font-size:14px;padding:15px 17px;}
.admin-table td strong {font-size:14px;}
.admin-table td small {font-size:13px;color:#566d7a;}
.state-pill {font-size:13px;}
.no-rows {font-size:15px;}
.form-panel {padding:28px;}
.form-section-title {font-size:18px;}
.form-label {font-size:15px;}
.form-control,.form-select {font-size:16px;border-radius:7px;}
.form-control:focus,.form-select:focus {border-color:#087a42;box-shadow:0 0 0 .18rem #087a4225;}
.form-help,.publish-tip,.publish-tip p {font-size:14px;}
.btn-soft {font-size:14px;}
.permissions-table th,.permissions-table td {font-size:14px;}
.permissions-table thead th {font-size:13px;}
.permission-footer p {font-size:14px;}
.message-body {font-size:14px;}
.login-image p,.login-kicker {font-size:13px;color:#f2c33e;}
.login-image span {font-size:16px;}
.login-emblem {width:95px;height:113px;border:0;}
.login-emblem img {width:100%;height:100%;object-fit:contain;}
.login-form-wrap>p.text-muted,.login-form-wrap form .form-label,.login-back,.login-bottom {font-size:15px;}
.btn-login {font-size:16px;background:#087a42;border-radius:7px;}
.btn-login:hover {background:#055f36;color:#fff;}
.identity-media-preview {background:#f0f6f2;min-height:160px;border:1px solid #dce8df;border-radius:10px;padding:10px;display:grid;place-items:center;margin-bottom:12px;}
.identity-media-preview img {width:auto;height:auto;max-height:150px;max-width:100%;object-fit:contain;}
@media(max-width:1199px) {.admin-main{margin-left:0}.admin-topbar{padding:16px 20px}}
@media(max-width:767px) {.admin-sidebar{width:280px}.admin-topbar h1{font-size:18px}.admin-top-kicker{font-size:11px}.admin-content{padding:15px}.dashboard-heading{padding:18px;align-items:start;flex-direction:column}.heading-label{display:none}.welcome-admin{padding:24px;min-height:150px}.welcome-admin h2{font-size:22px}.welcome-admin p:last-of-type{font-size:14px}.welcome-decoration{display:none}.shortcut-grid{grid-template-columns:1fr}.admin-table td,.admin-table th{white-space:nowrap}.admin-footer{font-size:12px}.profile-chip{border-left:0}}
/* Contraste del escudo sobre la barra lateral azul marino */
.admin-brand>span {background:#fff;border-radius:9px;padding:4px;}
