/* Admin base styles (copied from CMS) */
        :root {
            --admin-primary: #0d9488;
            --admin-primary-strong: #0f766e;
            --admin-primary-soft: #ccfbf1;
            --admin-bg-main: #f8fafc;
            --admin-bg-card: #ffffff;
            --admin-bg-input: #f8fafc;
            --admin-bg-hover: #f1f5f9;
            --admin-text: #0f172a;
            --admin-text-soft: #475569;
            --admin-text-muted: #94a3b8;
            --admin-border: #e2e8f0;
            --admin-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
            --admin-shadow-md: 0 10px 28px rgba(15, 23, 42, 0.1);
            --primary: var(--admin-primary);
            --primary-strong: var(--admin-primary-strong);
            --primary-soft: var(--admin-primary-soft);
            --bg-main: var(--admin-bg-main);
            --bg-card: var(--admin-bg-card);
            --bg-input: var(--admin-bg-input);
            --bg-hover: var(--admin-bg-hover);
            --text-primary: var(--admin-text);
            --text-secondary: var(--admin-text-soft);
            --text-muted: var(--admin-text-muted);
            --border-color: var(--admin-border);
            --shadow-sm: var(--admin-shadow-sm);
            --shadow-md: var(--admin-shadow-md);
        }

        body {
            font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
        }

        .icon-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 2.2rem;
            height: 2.2rem;
            border-radius: 999px;
            border: 1px solid var(--admin-border);
            background: var(--admin-bg-card);
            color: var(--admin-text-soft);
            box-shadow: var(--admin-shadow-sm);
            transition: all 0.2s ease;
        }

        .icon-btn:hover,
        .icon-btn:focus {
            color: var(--admin-primary-strong);
            border-color: rgba(13, 148, 136, 0.45);
            background: var(--admin-bg-hover);
        }

        .sidebar-item-active {
            background: linear-gradient(90deg, rgba(240, 253, 250, 1) 0%, rgba(236, 253, 245, 1) 100%);
            border: 1px solid rgba(13, 148, 136, 0.28);
            color: #0f766e;
            box-shadow: 0 4px 10px rgba(15, 118, 110, 0.08);
        }

        .custom-scrollbar::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }

        .custom-scrollbar::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 10px;
        }

        .sidebar-panel {
            transition: transform 0.25s ease;
            z-index: 60;
        }

        .sidebar-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(2, 6, 23, 0.4);
            z-index: 55;
            display: none;
        }

        .admin-menu-group-toggle {
            border: 0;
            background: transparent;
            border-radius: 0.4rem;
            transition: background-color 0.2s ease;
        }

        .admin-menu-label {
            color: #94a3b8;
        }

        .admin-menu-section {
            border: 0;
            background: transparent;
            box-shadow: none;
            padding: 0;
        }

        .admin-menu-group-heading {
            min-height: 1.75rem;
        }

        .admin-menu-link {
            color: #475569;
        }

        .admin-menu-link:hover {
            color: #0f172a;
            background: rgba(255, 255, 255, 0.9);
        }

        .admin-menu-link-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 1.45rem;
            height: 1.45rem;
            border-radius: 0.4rem;
            background: rgba(148, 163, 184, 0.14);
            color: #475569;
            transition: all 0.2s ease;
        }

        .admin-menu-link-icon--compact {
            width: 1.3rem;
            height: 1.3rem;
            border-radius: 0.35rem;
        }

        .admin-menu-link:hover .admin-menu-link-icon {
            background: rgba(13, 148, 136, 0.12);
            color: #0f766e;
        }

        .admin-menu-link-icon.is-active {
            background: rgba(13, 148, 136, 0.16);
            color: #0f766e;
        }

        .admin-menu-group-toggle:hover {
            background: #f8fafc;
        }

        .admin-menu-group-toggle:focus-visible {
            outline: none;
            box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.2);
        }

        .admin-menu-group-toggle .menu-group-chevron {
            transition: transform 0.2s ease;
        }

        .admin-menu-group-toggle[aria-expanded="true"] .menu-group-chevron {
            transform: rotate(180deg);
            color: #0d9488;
        }

        /* Evita conflito Tailwind(.collapse) x Bootstrap Collapse no admin */
        .collapse,
        .collapsing {
            visibility: visible !important;
        }

        .collapse.show {
            visibility: visible !important;
        }

        .admin-search .search-suggestions {
            position: absolute;
            top: calc(100% + 0.35rem);
            left: 0;
            right: 0;
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 0.9rem;
            box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
            max-height: 19rem;
            overflow-y: auto;
            z-index: 70;
        }

        .admin-search .search-suggestions a {
            display: block;
            padding: 0.6rem 0.9rem;
            color: #334155;
            font-size: 0.85rem;
            text-decoration: none;
            border-bottom: 1px solid #f1f5f9;
        }

        .admin-search .search-suggestions a:last-child {
            border-bottom: 0;
        }

        .admin-search .search-suggestions a:hover {
            background: #f8fafc;
            color: #0f766e;
        }

        .admin-search .search-empty {
            padding: 0.75rem 0.9rem;
            color: #94a3b8;
            font-size: 0.8rem;
        }

        .update-banner {
            margin-bottom: 1rem;
            border-radius: 0.9rem;
            border: 1px solid #fcd34d;
            background: #fffbeb;
            color: #92400e;
            padding: 0.75rem 1rem;
            font-size: 0.85rem;
        }

        .update-banner a {
            color: #0f766e;
            font-weight: 700;
            text-decoration: underline;
        }

        .plugin-promo-rotator {
            margin-bottom: 1rem;
        }

        .plugin-promo-banner {
            border-radius: 1rem;
            border: 1px solid #99f6e4;
            background: linear-gradient(125deg, #ecfeff 0%, #f0fdfa 58%, #ffffff 100%);
            padding: 1rem 1.1rem;
            display: flex;
            justify-content: space-between;
            gap: 1rem;
            align-items: flex-start;
        }

        .plugin-promo-slide {
            display: none;
        }

        .plugin-promo-slide.is-active {
            display: flex;
        }

        .plugin-promo-content {
            min-width: 0;
        }

        .plugin-promo-kicker {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.66rem;
            font-weight: 800;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: #0f766e;
            background: rgba(45, 212, 191, 0.22);
            border: 1px solid rgba(13, 148, 136, 0.25);
            border-radius: 999px;
            padding: 0.23rem 0.55rem;
        }

        .plugin-promo-title {
            margin: 0.65rem 0 0.45rem;
            font-size: 1rem;
            line-height: 1.25;
            font-weight: 800;
            color: #0f172a;
        }

        .plugin-promo-desc {
            margin: 0;
            color: #334155;
            font-size: 0.85rem;
            line-height: 1.45;
        }

        .plugin-promo-list {
            margin: 0.7rem 0 0;
            padding: 0;
            list-style: none;
            display: grid;
            gap: 0.35rem;
        }

        .plugin-promo-list li {
            position: relative;
            padding-left: 1rem;
            color: #0f766e;
            font-size: 0.78rem;
            line-height: 1.35;
            font-weight: 600;
        }

        .plugin-promo-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.42rem;
            width: 0.45rem;
            height: 0.45rem;
            border-radius: 999px;
            background: #14b8a6;
            box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.2);
        }

        .plugin-promo-actions {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 0.5rem;
            min-width: 190px;
        }

        .plugin-promo-actions .btn {
            white-space: nowrap;
        }

        @media (max-width: 767.98px) {
            .plugin-promo-banner {
                flex-direction: column;
            }

            .plugin-promo-actions {
                width: 100%;
                min-width: 0;
            }
        }

        .page-header {
            margin-bottom: 1.35rem;
        }

        .page-header h2 {
            margin: 0;
            font-size: 1.5rem;
            font-weight: 800;
            color: #111827;
        }

        .page-header p {
            margin: 0.35rem 0 0;
            color: #6b7280;
            font-size: 0.9rem;
        }

        .admin-page-toolbar {
            border: 1px solid #e5e7eb;
            border-radius: 1rem;
            background: linear-gradient(90deg, #ffffff 0%, #f8fffd 100%);
            box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
            padding: 1rem 1.1rem;
            margin-bottom: 1rem;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 0.9rem;
        }

        .admin-page-toolbar h3 {
            margin: 0;
            font-size: 1rem;
            font-weight: 700;
            color: #0f172a;
        }

        .admin-page-toolbar p {
            margin: 0.3rem 0 0;
            font-size: 0.82rem;
            color: #64748b;
        }

        .admin-page-toolbar-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
            gap: 0.5rem;
            width: min(100%, 530px);
        }

        .admin-page-toolbar-stat {
            border: 1px solid #e5e7eb;
            border-radius: 0.85rem;
            background: #fff;
            padding: 0.65rem 0.75rem;
        }

        .admin-page-toolbar-stat .label {
            display: block;
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: #94a3b8;
        }

        .admin-page-toolbar-stat .value {
            display: block;
            margin-top: 0.18rem;
            font-size: 1rem;
            font-weight: 800;
            color: #0f172a;
            line-height: 1.12;
        }

        .card {
            border: 1px solid #e5e7eb;
            border-radius: 1rem;
            box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
        }

        .card-header {
            border-bottom: 1px solid #f1f5f9;
            background: #fff;
            border-radius: 1rem 1rem 0 0 !important;
        }

        .card-footer {
            border-top: 1px solid #f1f5f9;
            background: #fff;
            border-radius: 0 0 1rem 1rem !important;
        }

        .btn {
            border-radius: 0.75rem;
            font-weight: 600;
            font-size: 0.84rem;
            line-height: 1.2;
            padding: 0.56rem 0.9rem;
            border-width: 1px;
            transition: all 0.2s ease;
        }

        .btn-sm {
            border-radius: 0.65rem;
            font-size: 0.76rem;
            padding: 0.4rem 0.72rem;
        }

        .btn-lg {
            border-radius: 0.9rem;
            font-size: 0.9rem;
            padding: 0.72rem 1.05rem;
        }

        .btn-primary {
            background: #0d9488;
            border-color: #0d9488;
        }

        .btn-primary:hover,
        .btn-primary:focus {
            background: #0f766e;
            border-color: #0f766e;
        }

        .bg-primary {
            background-color: #0d9488 !important;
        }

        .text-primary {
            color: #0f766e !important;
        }

        .border-primary-subtle {
            border-color: #99f6e4 !important;
        }

        .card-header.bg-primary {
            background: #0d9488 !important;
            color: #fff !important;
            border-bottom-color: #0f766e !important;
        }

        .btn-outline-primary {
            border-color: #99f6e4;
            color: #0f766e;
            background: #fff;
        }

        .btn-outline-primary:hover,
        .btn-outline-primary:focus {
            border-color: #0d9488;
            background: #f0fdfa;
            color: #0f766e;
        }

        .btn-outline-secondary {
            border-color: #cbd5e1;
            color: #475569;
            background: #fff;
        }

        .btn-outline-secondary:hover,
        .btn-outline-secondary:focus {
            border-color: #94a3b8;
            color: #334155;
            background: #f8fafc;
        }

        .btn-outline-danger {
            border-color: #fecaca;
            color: #b91c1c;
            background: #fff;
        }

        .btn-outline-danger:hover,
        .btn-outline-danger:focus {
            border-color: #fca5a5;
            color: #991b1b;
            background: #fef2f2;
        }

        .btn-light {
            border-color: #e2e8f0;
            color: #475569;
            background: #fff;
        }

        .btn-light:hover,
        .btn-light:focus {
            border-color: #cbd5e1;
            color: #0f766e;
            background: #f8fafc;
        }

        .form-label {
            margin-bottom: 0.42rem;
            color: #475569;
            font-size: 0.8rem;
            font-weight: 700;
        }

        .form-text {
            color: #94a3b8;
            font-size: 0.76rem;
        }

        .form-control,
        .form-select {
            border: 1px solid #e2e8f0;
            border-radius: 0.75rem;
            background: #fff;
            color: #0f172a;
            font-size: 0.87rem;
            padding: 0.56rem 0.78rem;
        }

        .form-control::placeholder {
            color: #94a3b8;
        }

        .form-control:focus,
        .form-select:focus {
            border-color: #14b8a6;
            box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18);
        }

        .input-group-text {
            border: 1px solid #e2e8f0;
            background: #f8fafc;
            color: #64748b;
        }

        .form-check-input {
            border-color: #cbd5e1;
        }

        .form-check-input:checked {
            border-color: #0d9488;
            background-color: #0d9488;
        }

        .form-check-input:focus {
            box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.16);
            border-color: #14b8a6;
        }

        .table > :not(caption) > * > * {
            border-color: #f1f5f9;
            padding: 0.78rem 1rem;
            vertical-align: middle;
            font-size: 0.86rem;
            color: #334155;
        }

        .table thead th {
            background: #f8fafc;
            color: #64748b;
            font-size: 0.74rem;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            font-weight: 700;
        }

        .table-hover tbody tr:hover > * {
            background: #f8fafc;
        }

        .table-responsive {
            border-radius: 0.85rem;
        }

        .list-group-item {
            border-color: #f1f5f9;
            color: #334155;
            font-size: 0.85rem;
            padding: 0.72rem 1rem;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            font-size: 0.64rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            padding: 0.32rem 0.56rem;
        }

        .alert {
            border-radius: 0.9rem;
            font-size: 0.84rem;
            border: 1px solid transparent;
            box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
        }

        .alert-success {
            background: #ecfdf5;
            border-color: #a7f3d0;
            color: #065f46;
        }

        .alert-danger {
            background: #fef2f2;
            border-color: #fecaca;
            color: #991b1b;
        }

        .alert-warning {
            background: #fffbeb;
            border-color: #fde68a;
            color: #92400e;
        }

        .alert-info {
            background: #eff6ff;
            border-color: #bfdbfe;
            color: #1e3a8a;
        }

        .dropdown-menu {
            border: 1px solid #e2e8f0;
            border-radius: 0.85rem;
            box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
            padding: 0.3rem;
        }

        .dropdown-item {
            border-radius: 0.65rem;
            font-size: 0.84rem;
            padding: 0.5rem 0.7rem;
            color: #334155;
        }

        .dropdown-item:hover,
        .dropdown-item:focus {
            background: #f8fafc;
            color: #0f766e;
        }

        .nav-tabs {
            border-color: #e2e8f0;
            gap: 0.3rem;
        }

        .nav-tabs .nav-link {
            border: 0;
            border-bottom: 2px solid transparent;
            border-radius: 0;
            color: #64748b;
            font-weight: 600;
            font-size: 0.83rem;
            padding: 0.7rem 0.85rem;
        }

        .nav-tabs .nav-link:hover {
            color: #0f766e;
            border-color: #99f6e4;
        }

        .nav-tabs .nav-link.active {
            background: transparent;
            color: #0f766e;
            border-color: #0d9488;
        }

        .pagination {
            gap: 0.2rem;
        }

        .pagination .page-item .page-link {
            border: 1px solid #e2e8f0;
            border-radius: 0.6rem;
            color: #475569;
            font-size: 0.8rem;
            min-width: 2rem;
            text-align: center;
            padding: 0.4rem 0.6rem;
            background: #fff;
        }

        .pagination .page-item .page-link:hover {
            background: #f8fafc;
            color: #0f766e;
        }

        .pagination .page-item.active .page-link {
            background: #0d9488;
            border-color: #0d9488;
            color: #fff;
        }

        .modal-content {
            border: 1px solid #e2e8f0;
            border-radius: 1rem;
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
        }

        .progress {
            height: 0.65rem;
            background: #e2e8f0;
            border-radius: 999px;
            overflow: hidden;
        }

        .progress-bar {
            background: #0d9488;
        }

        .modal-header,
        .modal-footer {
            border-color: #f1f5f9;
        }

        .offcanvas {
            border-left: 1px solid #e2e8f0;
        }

        .offcanvas-header {
            border-bottom: 1px solid #f1f5f9;
        }

        .admin-pill {
            display: inline-flex;
            align-items: center;
            padding: 0.2rem 0.6rem;
            border-radius: 999px;
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .admin-pill.success {
            background: #dcfce7;
            color: #15803d;
        }

        .admin-pill.danger {
            background: #fee2e2;
            color: #b91c1c;
        }

        .admin-pill.secondary {
            background: #e2e8f0;
            color: #334155;
        }

        body.admin-public-page {
            background:
                radial-gradient(1200px 600px at 5% -5%, rgba(20, 184, 166, 0.18), transparent 45%),
                radial-gradient(900px 520px at 95% 10%, rgba(14, 165, 233, 0.14), transparent 45%),
                #f8fafc;
            color: #0f172a;
        }

        body.admin-public-page .main-content {
            min-height: calc(100vh - 54px);
            padding: 1.25rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .admin-public-wrap {
            width: min(980px, 100%);
        }

        html[data-admin-theme='dark'] {
            color-scheme: dark;
            --admin-primary: #14b8a6;
            --admin-primary-strong: #2dd4bf;
            --admin-primary-soft: rgba(20, 184, 166, 0.22);
            --admin-bg-main: #0b1220;
            --admin-bg-card: #0f172a;
            --admin-bg-input: #111c2d;
            --admin-bg-hover: #1e293b;
            --admin-text: #e2e8f0;
            --admin-text-soft: #cbd5e1;
            --admin-text-muted: #94a3b8;
            --admin-border: #334155;
            --admin-shadow-sm: 0 1px 2px rgba(2, 6, 23, 0.55);
            --admin-shadow-md: 0 14px 34px rgba(2, 6, 23, 0.48);
        }

        html[data-admin-theme='dark'] body {
            background: var(--admin-bg-main);
            color: var(--admin-text);
        }

        html[data-admin-theme='dark'] body.admin-public-page {
            background:
                radial-gradient(1200px 600px at 5% -5%, rgba(20, 184, 166, 0.2), transparent 45%),
                radial-gradient(900px 520px at 95% 10%, rgba(14, 165, 233, 0.16), transparent 45%),
                #0b1220;
            color: var(--admin-text);
        }

        html[data-admin-theme='dark'] .sidebar-item-active {
            background: linear-gradient(90deg, rgba(20, 184, 166, 0.22) 0%, rgba(45, 212, 191, 0.16) 100%);
            border-color: rgba(45, 212, 191, 0.5);
            color: #5eead4;
            box-shadow: 0 8px 20px rgba(2, 6, 23, 0.45);
        }

        html[data-admin-theme='dark'] .admin-menu-group-toggle:hover {
            background: #1e293b;
        }

        html[data-admin-theme='dark'] .admin-menu-group-toggle:focus-visible {
            box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.25);
        }

        html[data-admin-theme='dark'] .admin-menu-label {
            color: #64748b;
        }

        html[data-admin-theme='dark'] .admin-menu-section {
            border: 0;
            background: transparent;
            box-shadow: none;
        }

        html[data-admin-theme='dark'] .admin-menu-link {
            color: #cbd5e1;
        }

        html[data-admin-theme='dark'] .admin-menu-link:hover {
            color: #f8fafc;
            background: rgba(30, 41, 59, 0.85);
        }

        html[data-admin-theme='dark'] .admin-menu-link-icon {
            background: rgba(148, 163, 184, 0.12);
            color: #cbd5e1;
        }

        html[data-admin-theme='dark'] .admin-menu-link:hover .admin-menu-link-icon,
        html[data-admin-theme='dark'] .admin-menu-link-icon.is-active {
            background: rgba(45, 212, 191, 0.18);
            color: #5eead4;
        }

        html[data-admin-theme='dark'] .card,
        html[data-admin-theme='dark'] .card-header,
        html[data-admin-theme='dark'] .card-footer,
        html[data-admin-theme='dark'] .modal-content,
        html[data-admin-theme='dark'] .dropdown-menu,
        html[data-admin-theme='dark'] .list-group-item,
        html[data-admin-theme='dark'] .offcanvas {
            background: var(--admin-bg-card) !important;
            border-color: var(--admin-border) !important;
            color: var(--admin-text-soft);
        }

        html[data-admin-theme='dark'] .table > :not(caption) > * > * {
            border-color: #1e293b;
            color: #cbd5e1;
        }

        html[data-admin-theme='dark'] .table thead th {
            background: #111827;
            color: #94a3b8;
        }

        html[data-admin-theme='dark'] .table-hover tbody tr:hover > * {
            background: #111827;
        }

        html[data-admin-theme='dark'] .form-control,
        html[data-admin-theme='dark'] .form-select,
        html[data-admin-theme='dark'] .input-group-text {
            background: var(--admin-bg-input);
            border-color: var(--admin-border);
            color: var(--admin-text);
        }

        html[data-admin-theme='dark'] .form-control::placeholder {
            color: #64748b;
        }

        html[data-admin-theme='dark'] .form-control:focus,
        html[data-admin-theme='dark'] .form-select:focus {
            border-color: #2dd4bf;
            box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
        }

        html[data-admin-theme='dark'] .btn-outline-secondary,
        html[data-admin-theme='dark'] .btn-light {
            border-color: #475569;
            color: #cbd5e1;
            background: #111827;
        }

        html[data-admin-theme='dark'] .btn-outline-secondary:hover,
        html[data-admin-theme='dark'] .btn-outline-secondary:focus,
        html[data-admin-theme='dark'] .btn-light:hover,
        html[data-admin-theme='dark'] .btn-light:focus {
            border-color: #64748b;
            color: #e2e8f0;
            background: #1e293b;
        }

        html[data-admin-theme='dark'] .btn-outline-primary {
            border-color: rgba(45, 212, 191, 0.45);
            color: #5eead4;
            background: #0f172a;
        }

        html[data-admin-theme='dark'] .btn-outline-primary:hover,
        html[data-admin-theme='dark'] .btn-outline-primary:focus {
            border-color: #2dd4bf;
            color: #99f6e4;
            background: rgba(20, 184, 166, 0.15);
        }

        html[data-admin-theme='dark'] .admin-search .search-suggestions {
            background: #0f172a;
            border-color: #334155;
            box-shadow: 0 14px 30px rgba(2, 6, 23, 0.55);
        }

        html[data-admin-theme='dark'] .admin-search .search-suggestions a {
            color: #cbd5e1;
            border-bottom-color: #1e293b;
        }

        html[data-admin-theme='dark'] .admin-search .search-suggestions a:hover {
            background: #111827;
            color: #5eead4;
        }

        html[data-admin-theme='dark'] .admin-search .search-empty {
            color: #94a3b8;
        }

        html[data-admin-theme='dark'] .update-banner {
            background: rgba(146, 64, 14, 0.18);
            border-color: rgba(245, 158, 11, 0.45);
            color: #fcd34d;
        }

        html[data-admin-theme='dark'] .update-banner a {
            color: #5eead4;
        }

        html[data-admin-theme='dark'] .plugin-promo-banner {
            border-color: rgba(45, 212, 191, 0.4);
            background: linear-gradient(125deg, rgba(15, 118, 110, 0.18) 0%, rgba(15, 23, 42, 0.96) 65%, rgba(15, 23, 42, 1) 100%);
        }

        html[data-admin-theme='dark'] .plugin-promo-kicker {
            background: rgba(20, 184, 166, 0.18);
            border-color: rgba(45, 212, 191, 0.45);
            color: #99f6e4;
        }

        html[data-admin-theme='dark'] .plugin-promo-title {
            color: #e2e8f0;
        }

        html[data-admin-theme='dark'] .plugin-promo-desc {
            color: #cbd5e1;
        }

        html[data-admin-theme='dark'] .plugin-promo-list li {
            color: #99f6e4;
        }

        html[data-admin-theme='dark'] .bg-white { background-color: #0f172a !important; }
        html[data-admin-theme='dark'] .bg-gray-50 { background-color: #111827 !important; }
        html[data-admin-theme='dark'] .bg-gray-100 { background-color: #1f2937 !important; }
        html[data-admin-theme='dark'] .border-gray-100 { border-color: #1f2937 !important; }
        html[data-admin-theme='dark'] .border-gray-200 { border-color: #334155 !important; }
        html[data-admin-theme='dark'] .text-gray-300 { color: #64748b !important; }
        html[data-admin-theme='dark'] .text-gray-400 { color: #94a3b8 !important; }
        html[data-admin-theme='dark'] .text-gray-500 { color: #a5b4c3 !important; }
        html[data-admin-theme='dark'] .text-gray-600 { color: #cbd5e1 !important; }
        html[data-admin-theme='dark'] .text-gray-700 { color: #e2e8f0 !important; }
        html[data-admin-theme='dark'] .text-slate-800 { color: #e2e8f0 !important; }
        html[data-admin-theme='dark'] .ring-white { --tw-ring-color: #0f172a !important; }
        html[data-admin-theme='dark'] .shadow-sm { box-shadow: 0 1px 2px rgba(2, 6, 23, 0.45) !important; }
        html[data-admin-theme='dark'] .shadow { box-shadow: 0 8px 18px rgba(2, 6, 23, 0.45) !important; }

        /* Admin UI v2 */
        :root {
            --admin-v2-bg: #f4f7fb;
            --admin-v2-bg-soft: #edf3ff;
            --admin-v2-ink: #0b1324;
            --admin-v2-ink-soft: #4b5568;
            --admin-v2-border: #d8e0ee;
            --admin-v2-card: #ffffff;
            --admin-v2-card-shadow: 0 20px 40px rgba(18, 30, 54, 0.08);
            --admin-v2-brand: #1459ff;
            --admin-v2-brand-strong: #0f46cd;
            --admin-v2-accent: #00b3a4;
            --admin-v2-topbar: rgba(255, 255, 255, 0.72);
            --admin-v2-sidebar: #ffffff;
            --admin-v2-sidebar-border: #d8e0ee;
        }

        html[data-admin-theme='dark'] {
            --admin-v2-bg: #071224;
            --admin-v2-bg-soft: #0b1a32;
            --admin-v2-ink: #e7edf8;
            --admin-v2-ink-soft: #b2bfd6;
            --admin-v2-border: #1e355a;
            --admin-v2-card: #0d1d38;
            --admin-v2-card-shadow: 0 24px 44px rgba(2, 6, 23, 0.44);
            --admin-v2-brand: #3f8cff;
            --admin-v2-brand-strong: #6ea9ff;
            --admin-v2-accent: #33d1bf;
            --admin-v2-topbar: rgba(11, 23, 43, 0.78);
            --admin-v2-sidebar: #ffffff;
            --admin-v2-sidebar-border: #d8e0ee;
        }

        body:not(.admin-public-page) {
            background:
                radial-gradient(1500px 650px at 0% -10%, rgba(20, 89, 255, 0.12), transparent 55%),
                radial-gradient(1200px 520px at 100% 5%, rgba(0, 179, 164, 0.1), transparent 58%),
                var(--admin-v2-bg);
            color: var(--admin-v2-ink);
        }

        .sidebar-panel {
            width: 17rem;
            background: var(--admin-v2-sidebar) !important;
            border-right: 1px solid var(--admin-v2-sidebar-border) !important;
            color: #0b1324;
            box-shadow: inset -1px 0 0 rgba(15, 23, 42, 0.02);
        }

        .admin-brand {
            display: flex;
            align-items: center;
            gap: 0.72rem;
            padding: 0.2rem 0;
        }

        .admin-brand-mark {
            width: 2.15rem;
            height: 2.15rem;
            border-radius: 0.78rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
            font-size: 0.88rem;
            font-weight: 700;
            color: #f8fbff;
            background: linear-gradient(135deg, #1557ff 0%, #00b3a4 100%);
            box-shadow:
                0 10px 20px rgba(20, 89, 255, 0.34),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .admin-brand-title {
            margin: 0;
            font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
            font-size: 1rem;
            letter-spacing: -0.02em;
            font-weight: 700;
            color: #0b1324;
            line-height: 1.15;
        }

        .admin-brand-subtitle {
            margin: 0;
            font-size: 0.67rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            font-weight: 700;
            color: #7f8ca3;
        }

        .sidebar-panel .admin-menu-label {
            color: #94a3b8;
            letter-spacing: 0.06em;
            font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
            text-transform: lowercase;
        }

        .sidebar-panel .admin-menu-label span {
            text-transform: lowercase;
        }

        .sidebar-panel .admin-menu-label span::first-letter {
            text-transform: uppercase;
        }

        .sidebar-panel .admin-menu-section {
            border-radius: 0.95rem;
            padding: 0.32rem;
            margin-bottom: 0.34rem;
        }

        .sidebar-panel .admin-menu-group-toggle {
            border-radius: 0.85rem;
            min-height: 2.35rem;
        }

        .sidebar-panel .admin-menu-group-toggle:hover {
            background: #f8fafc;
        }

        .sidebar-panel .admin-menu-group-toggle > span > span {
            text-transform: lowercase;
            font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
        }

        .sidebar-panel .admin-menu-group-toggle > span > span::first-letter {
            text-transform: uppercase;
        }

        .sidebar-panel .admin-menu-link {
            color: #475569;
            min-height: 2.45rem;
            font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
            font-size: 0.845rem;
            letter-spacing: 0.004em;
        }

        .sidebar-panel .admin-menu-link:hover {
            background: #f8fafc;
            color: #0f172a;
        }

        .sidebar-panel .admin-menu-link > span.flex-1 {
            text-transform: lowercase;
        }

        .sidebar-panel .admin-menu-link > span.flex-1::first-letter {
            text-transform: uppercase;
        }

        .sidebar-panel .admin-menu-link-icon {
            width: 1.5rem;
            height: 1.5rem;
            border-radius: 0.45rem;
            background: rgba(148, 163, 184, 0.14);
            color: #475569;
        }

        .sidebar-panel .admin-menu-link:hover .admin-menu-link-icon,
        .sidebar-panel .admin-menu-link-icon.is-active {
            background: rgba(13, 148, 136, 0.12);
            color: #0f766e;
        }

        .sidebar-panel .sidebar-item-active {
            background: linear-gradient(90deg, rgba(240, 253, 250, 1) 0%, rgba(236, 253, 245, 1) 100%) !important;
            border-color: rgba(13, 148, 136, 0.28) !important;
            color: #0f766e !important;
            box-shadow: 0 4px 10px rgba(15, 118, 110, 0.08);
        }

        .admin-user-card {
            border-radius: 0.95rem;
            border: 1px solid #e2e8f0;
            background: #f8fafc;
            gap: 0.1rem;
        }

        .admin-user-avatar {
            background: linear-gradient(135deg, #1e66ff 0%, #1cc8ba 100%) !important;
            color: #f8fbff !important;
            box-shadow: 0 8px 16px rgba(20, 89, 255, 0.32);
        }

        .admin-user-name {
            color: #0f172a !important;
        }

        .admin-user-role {
            color: #64748b !important;
        }

        html[data-admin-theme='dark'] .sidebar-panel {
            background: #ffffff !important;
            border-right-color: #d8e0ee !important;
            color: #0b1324 !important;
            box-shadow: inset -1px 0 0 rgba(15, 23, 42, 0.02);
        }

        html[data-admin-theme='dark'] .sidebar-panel .admin-brand-title {
            color: #0b1324;
        }

        html[data-admin-theme='dark'] .sidebar-panel .admin-brand-subtitle,
        html[data-admin-theme='dark'] .sidebar-panel .admin-menu-label {
            color: #94a3b8 !important;
        }

        html[data-admin-theme='dark'] .sidebar-panel .admin-menu-group-toggle:hover {
            background: #f8fafc !important;
        }

        html[data-admin-theme='dark'] .sidebar-panel .admin-menu-link {
            color: #475569 !important;
        }

        html[data-admin-theme='dark'] .sidebar-panel .admin-menu-link:hover {
            color: #0f172a !important;
            background: #f8fafc !important;
        }

        html[data-admin-theme='dark'] .sidebar-panel .admin-menu-link-icon {
            background: rgba(148, 163, 184, 0.14) !important;
            color: #475569 !important;
        }

        html[data-admin-theme='dark'] .sidebar-panel .admin-menu-link:hover .admin-menu-link-icon,
        html[data-admin-theme='dark'] .sidebar-panel .admin-menu-link-icon.is-active {
            background: rgba(13, 148, 136, 0.12) !important;
            color: #0f766e !important;
        }

        html[data-admin-theme='dark'] .sidebar-panel .sidebar-item-active {
            background: linear-gradient(90deg, rgba(240, 253, 250, 1) 0%, rgba(236, 253, 245, 1) 100%) !important;
            border-color: rgba(13, 148, 136, 0.28) !important;
            color: #0f766e !important;
            box-shadow: 0 4px 10px rgba(15, 118, 110, 0.08);
        }

        html[data-admin-theme='dark'] .sidebar-panel .admin-user-card {
            background: #f8fafc;
            border-color: #e2e8f0;
        }

        html[data-admin-theme='dark'] .sidebar-panel .admin-user-name {
            color: #0f172a !important;
        }

        html[data-admin-theme='dark'] .sidebar-panel .admin-user-role {
            color: #64748b !important;
        }

        .admin-content-shell {
            padding: clamp(0.95rem, 1.8vw, 1.65rem) !important;
        }

        header[data-purpose="main-header"] {
            position: sticky;
            top: 0;
            height: auto !important;
            min-height: 4.35rem;
            background: var(--admin-v2-topbar) !important;
            backdrop-filter: blur(14px);
            border-bottom: 1px solid var(--admin-v2-border) !important;
            box-shadow: 0 10px 24px rgba(8, 20, 40, 0.06);
        }

        header[data-purpose="main-header"] .icon-btn {
            border-color: var(--admin-v2-border);
            background: rgba(255, 255, 255, 0.84);
            color: var(--admin-v2-ink-soft);
        }

        header[data-purpose="main-header"] .icon-btn:hover,
        header[data-purpose="main-header"] .icon-btn:focus {
            border-color: rgba(20, 89, 255, 0.35);
            color: var(--admin-v2-brand-strong);
            background: #ffffff;
            transform: translateY(-1px);
        }

        html[data-admin-theme='dark'] header[data-purpose="main-header"] .icon-btn {
            background: rgba(13, 29, 56, 0.85);
            border-color: #24426d;
            color: #b3c7e8;
        }

        html[data-admin-theme='dark'] header[data-purpose="main-header"] .icon-btn:hover,
        html[data-admin-theme='dark'] header[data-purpose="main-header"] .icon-btn:focus {
            background: #112949;
            border-color: #3d628f;
            color: #dcebff;
        }

        header[data-purpose="main-header"] input[type="text"] {
            background: rgba(255, 255, 255, 0.86) !important;
            border-color: var(--admin-v2-border) !important;
            color: var(--admin-v2-ink) !important;
            border-radius: 999px !important;
        }

        html[data-admin-theme='dark'] header[data-purpose="main-header"] input[type="text"] {
            background: rgba(13, 29, 56, 0.86) !important;
            border-color: #2a466f !important;
            color: #e7edf8 !important;
        }

        .page-header h2 {
            font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
            letter-spacing: -0.02em;
            color: var(--admin-v2-ink);
        }

        .page-header p {
            color: var(--admin-v2-ink-soft);
        }

        .admin-page-toolbar {
            border: 1px solid var(--admin-v2-border);
            background: linear-gradient(120deg, rgba(255, 255, 255, 0.88), rgba(237, 243, 255, 0.78));
            box-shadow: var(--admin-v2-card-shadow);
        }

        html[data-admin-theme='dark'] .admin-page-toolbar {
            background: linear-gradient(120deg, rgba(13, 29, 56, 0.94), rgba(11, 26, 50, 0.88));
        }

        .card {
            border-color: var(--admin-v2-border);
            background: var(--admin-v2-card);
            box-shadow: var(--admin-v2-card-shadow);
        }

        .card-header,
        .card-footer {
            background: color-mix(in srgb, var(--admin-v2-card) 92%, #ffffff 8%) !important;
            border-color: color-mix(in srgb, var(--admin-v2-border) 72%, transparent) !important;
        }

        .btn {
            border-radius: 0.8rem;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--admin-v2-brand) 0%, var(--admin-v2-accent) 100%);
            border: 0;
            box-shadow: 0 10px 18px rgba(20, 89, 255, 0.24);
        }

        .btn-primary:hover,
        .btn-primary:focus {
            filter: brightness(0.97);
            transform: translateY(-1px);
            box-shadow: 0 12px 22px rgba(20, 89, 255, 0.28);
        }

        .form-control,
        .form-select,
        .input-group-text {
            border-color: var(--admin-v2-border);
            background: color-mix(in srgb, var(--admin-v2-card) 92%, #f4f7fb 8%);
        }

        .table thead th {
            background: color-mix(in srgb, var(--admin-v2-bg-soft) 72%, #ffffff 28%);
            color: #5b667a;
        }

        html[data-admin-theme='dark'] .table thead th {
            color: #a3b4d1;
        }

        .admin-footer-shell {
            background: color-mix(in srgb, var(--admin-v2-card) 88%, #ffffff 12%);
            border-top: 1px solid var(--admin-v2-border) !important;
            color: var(--admin-v2-ink-soft);
            backdrop-filter: blur(8px);
        }

        .admin-footer-brand {
            color: var(--admin-v2-ink);
            font-weight: 700;
        }

        @keyframes adminPanelRise {
            from {
                opacity: 0;
                transform: translateY(7px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .admin-content-shell > * {
            animation: adminPanelRise 0.34s ease both;
        }

        @media (prefers-reduced-motion: reduce) {
            .admin-content-shell > * {
                animation: none !important;
            }
        }

        @media (max-width: 1023.98px) {
            .sidebar-panel {
                position: fixed;
                inset: 0 auto 0 0;
                display: none !important;
                transform: translateX(0);
                width: min(17rem, 86vw) !important;
                max-width: 86vw;
                box-shadow: 0 18px 40px rgba(2, 6, 23, 0.26);
            }

            .sidebar-panel.show {
                display: flex !important;
            }

            .sidebar-backdrop.show {
                display: block;
            }
        }

        @media (max-width: 767.98px) {
            .admin-content-shell {
                padding: 0.72rem !important;
            }

            header[data-purpose="main-header"] {
                min-height: 3.95rem;
                padding-left: 0.72rem !important;
                padding-right: 0.72rem !important;
            }

            header[data-purpose="main-header"] .icon-btn {
                width: 2rem;
                height: 2rem;
            }

            .page-header h2 {
                font-size: 1.3rem;
            }

            .plugin-promo-banner {
                padding: 0.8rem 0.86rem;
                border-radius: 0.86rem;
            }

            .plugin-promo-title {
                font-size: 0.92rem;
            }

            .plugin-promo-desc {
                font-size: 0.8rem;
            }
        }

/* Admin theme v3 styles (copied from CMS) */
    :root {
        --admin-v3-brand: #1459ff;
        --admin-v3-brand-strong: #0f46cd;
        --admin-v3-accent: #00b3a4;
        --admin-v3-ink: #0f172a;
        --admin-v3-ink-soft: #64748b;
        --admin-v3-border: #dce4f2;
        --admin-v3-card: #ffffff;
        --admin-v3-card-soft: #f8fbff;
        --admin-v3-shadow: 0 14px 30px rgba(18, 30, 54, 0.06);
    }

    body:not(.admin-public-page) .page-header {
        border: 1px solid rgba(20, 89, 255, 0.14);
        background: linear-gradient(130deg, rgba(20, 89, 255, 0.09) 0%, rgba(0, 179, 164, 0.08) 55%, rgba(255, 255, 255, 0.95) 100%);
        border-radius: 1.25rem;
        padding: 1rem 1.1rem;
        box-shadow: 0 18px 36px rgba(10, 26, 55, 0.08);
        margin-bottom: 1.2rem;
    }

    body:not(.admin-public-page) .page-header h2 {
        font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
        font-size: 1.36rem;
        letter-spacing: -0.02em;
        color: #0f172a;
    }

    body:not(.admin-public-page) .page-header p {
        margin-top: 0.3rem;
        color: #5d6d86;
    }

    body:not(.admin-public-page) .admin-page-toolbar {
        border: 1px solid var(--admin-v3-border);
        border-radius: 1.05rem;
        background: linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(237, 243, 255, 0.84));
        box-shadow: var(--admin-v3-shadow);
    }

    body.admin-route-plugins .plugin-v3-hero {
        position: relative;
        overflow: hidden;
        padding: 1.05rem 1.15rem;
    }

    body.admin-route-plugins .plugin-v3-hero::after {
        content: '';
        position: absolute;
        right: -44px;
        top: -48px;
        width: 188px;
        height: 188px;
        border-radius: 999px;
        background: radial-gradient(circle at center, rgba(20, 89, 255, 0.14), rgba(0, 179, 164, 0));
        pointer-events: none;
    }

    body.admin-route-plugins .plugin-v3-hero h2 {
        margin-bottom: 0.25rem;
    }

    body.admin-route-plugins .plugin-v3-toolbar {
        margin-bottom: 1.05rem;
    }

    body.admin-route-plugins .plugin-v3-toolbar .admin-page-toolbar-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.6rem;
    }

    body.admin-route-plugins .plugin-v3-toolbar .admin-page-toolbar-stat {
        min-height: 84px;
    }

    body.admin-route-plugins .plugin-v3-card + .plugin-v3-card {
        margin-top: 1rem;
    }

    body.admin-route-plugins .plugin-v3-card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.6rem;
        flex-wrap: wrap;
    }

    body.admin-route-plugins .plugin-v3-card-body {
        padding: 1rem 1.05rem 1.12rem;
    }

    body.admin-route-plugins .plugin-v3-card-footer {
        padding: 0.82rem 1rem;
    }

    body.admin-route-plugins .plugin-v3-table-shell {
        border-radius: 1rem;
    }

    body.admin-route-plugins .plugin-v3-table-shell .table thead th {
        white-space: nowrap;
    }

    body:not(.admin-public-page) .admin-content-shell .ajuda-toolbar,
    body:not(.admin-public-page) .admin-content-shell .api-toolbar,
    body:not(.admin-public-page) .admin-content-shell .atualizacoes-toolbar,
    body:not(.admin-public-page) .admin-content-shell .busca-toolbar,
    body:not(.admin-public-page) .admin-content-shell .comentarios-toolbar,
    body:not(.admin-public-page) .admin-content-shell .config-toolbar,
    body:not(.admin-public-page) .admin-content-shell .doisfa-toolbar,
    body:not(.admin-public-page) .admin-content-shell .editorias-toolbar,
    body:not(.admin-public-page) .admin-content-shell .envios-toolbar,
    body:not(.admin-public-page) .admin-content-shell .equipe-toolbar,
    body:not(.admin-public-page) .admin-content-shell .logs-erros-toolbar,
    body:not(.admin-public-page) .admin-content-shell .logs-toolbar,
    body:not(.admin-public-page) .admin-content-shell .menus-toolbar,
    body:not(.admin-public-page) .admin-content-shell .pagina-form-toolbar,
    body:not(.admin-public-page) .admin-content-shell .paginas-toolbar,
    body:not(.admin-public-page) .admin-content-shell .perfil-toolbar,
    body:not(.admin-public-page) .admin-content-shell .posicoes-toolbar,
    body:not(.admin-public-page) .admin-content-shell .publicidade-form-toolbar,
    body:not(.admin-public-page) .admin-content-shell .publicidade-toolbar,
    body:not(.admin-public-page) .admin-content-shell .tags-toolbar,
    body:not(.admin-public-page) .admin-content-shell .temas-toolbar,
    body:not(.admin-public-page) .admin-content-shell .usuario-form-toolbar,
    body:not(.admin-public-page) .admin-content-shell .usuarios-toolbar {
        border: 1px solid var(--admin-v3-border);
        border-radius: 1.05rem;
        background: linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(237, 243, 255, 0.84));
        box-shadow: var(--admin-v3-shadow);
        padding: 0.9rem 1rem;
        margin-bottom: 1rem;
    }

    body:not(.admin-public-page) .admin-content-shell .ajuda-stat,
    body:not(.admin-public-page) .admin-content-shell .api-stat,
    body:not(.admin-public-page) .admin-content-shell .atualizacoes-stat,
    body:not(.admin-public-page) .admin-content-shell .busca-stat,
    body:not(.admin-public-page) .admin-content-shell .comentarios-stat,
    body:not(.admin-public-page) .admin-content-shell .doisfa-stat,
    body:not(.admin-public-page) .admin-content-shell .editorias-stat,
    body:not(.admin-public-page) .admin-content-shell .envios-stat,
    body:not(.admin-public-page) .admin-content-shell .equipe-stat,
    body:not(.admin-public-page) .admin-content-shell .logs-stat,
    body:not(.admin-public-page) .admin-content-shell .menus-stat,
    body:not(.admin-public-page) .admin-content-shell .paginas-stat,
    body:not(.admin-public-page) .admin-content-shell .perfil-stat,
    body:not(.admin-public-page) .admin-content-shell .posicoes-stat,
    body:not(.admin-public-page) .admin-content-shell .publicidade-stat,
    body:not(.admin-public-page) .admin-content-shell .system-stat,
    body:not(.admin-public-page) .admin-content-shell .tags-stat,
    body:not(.admin-public-page) .admin-content-shell .temas-stat,
    body:not(.admin-public-page) .admin-content-shell .usuarios-stat,
    body:not(.admin-public-page) .admin-content-shell .wordpress-migrator-stat,
    body:not(.admin-public-page) .admin-content-shell .wp-migrator-stat,
    body:not(.admin-public-page) .admin-content-shell .wp-reprocess-stat {
        border: 1px solid #e5edf8;
        border-radius: 0.95rem;
        background: #ffffff;
        padding: 0.72rem 0.82rem;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
    }

    body:not(.admin-public-page) .admin-content-shell .ajuda-stat .label,
    body:not(.admin-public-page) .admin-content-shell .api-stat .label,
    body:not(.admin-public-page) .admin-content-shell .atualizacoes-stat .label,
    body:not(.admin-public-page) .admin-content-shell .busca-stat .label,
    body:not(.admin-public-page) .admin-content-shell .comentarios-stat .label,
    body:not(.admin-public-page) .admin-content-shell .doisfa-stat .label,
    body:not(.admin-public-page) .admin-content-shell .editorias-stat .label,
    body:not(.admin-public-page) .admin-content-shell .envios-stat .label,
    body:not(.admin-public-page) .admin-content-shell .equipe-stat .label,
    body:not(.admin-public-page) .admin-content-shell .logs-stat .label,
    body:not(.admin-public-page) .admin-content-shell .menus-stat .label,
    body:not(.admin-public-page) .admin-content-shell .paginas-stat .label,
    body:not(.admin-public-page) .admin-content-shell .perfil-stat .label,
    body:not(.admin-public-page) .admin-content-shell .posicoes-stat .label,
    body:not(.admin-public-page) .admin-content-shell .publicidade-stat .label,
    body:not(.admin-public-page) .admin-content-shell .system-stat .label,
    body:not(.admin-public-page) .admin-content-shell .tags-stat .label,
    body:not(.admin-public-page) .admin-content-shell .temas-stat .label,
    body:not(.admin-public-page) .admin-content-shell .usuarios-stat .label,
    body:not(.admin-public-page) .admin-content-shell .wordpress-migrator-stat .label,
    body:not(.admin-public-page) .admin-content-shell .wp-migrator-stat .label,
    body:not(.admin-public-page) .admin-content-shell .wp-reprocess-stat .label {
        color: #94a3b8;
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    body:not(.admin-public-page) .admin-content-shell .ajuda-stat .value,
    body:not(.admin-public-page) .admin-content-shell .api-stat .value,
    body:not(.admin-public-page) .admin-content-shell .atualizacoes-stat .value,
    body:not(.admin-public-page) .admin-content-shell .busca-stat .value,
    body:not(.admin-public-page) .admin-content-shell .comentarios-stat .value,
    body:not(.admin-public-page) .admin-content-shell .doisfa-stat .value,
    body:not(.admin-public-page) .admin-content-shell .editorias-stat .value,
    body:not(.admin-public-page) .admin-content-shell .envios-stat .value,
    body:not(.admin-public-page) .admin-content-shell .equipe-stat .value,
    body:not(.admin-public-page) .admin-content-shell .logs-stat .value,
    body:not(.admin-public-page) .admin-content-shell .menus-stat .value,
    body:not(.admin-public-page) .admin-content-shell .paginas-stat .value,
    body:not(.admin-public-page) .admin-content-shell .perfil-stat .value,
    body:not(.admin-public-page) .admin-content-shell .posicoes-stat .value,
    body:not(.admin-public-page) .admin-content-shell .publicidade-stat .value,
    body:not(.admin-public-page) .admin-content-shell .system-stat .value,
    body:not(.admin-public-page) .admin-content-shell .tags-stat .value,
    body:not(.admin-public-page) .admin-content-shell .temas-stat .value,
    body:not(.admin-public-page) .admin-content-shell .usuarios-stat .value,
    body:not(.admin-public-page) .admin-content-shell .wordpress-migrator-stat .value,
    body:not(.admin-public-page) .admin-content-shell .wp-migrator-stat .value,
    body:not(.admin-public-page) .admin-content-shell .wp-reprocess-stat .value {
        color: #0f172a;
        font-size: 1.05rem;
        font-weight: 800;
        line-height: 1.15;
    }

    body:not(.admin-public-page) .admin-content-shell .badge {
        border-radius: 999px;
        font-size: 0.66rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        padding: 0.22rem 0.52rem;
        border: 1px solid transparent;
    }

    body:not(.admin-public-page) .admin-content-shell .badge.bg-success,
    body:not(.admin-public-page) .admin-content-shell .badge.text-bg-success {
        background: #ecfdf5 !important;
        border-color: #a7f3d0 !important;
        color: #047857 !important;
    }

    body:not(.admin-public-page) .admin-content-shell .badge.bg-danger,
    body:not(.admin-public-page) .admin-content-shell .badge.text-bg-danger {
        background: #fef2f2 !important;
        border-color: #fecaca !important;
        color: #b91c1c !important;
    }

    body:not(.admin-public-page) .admin-content-shell .badge.bg-warning,
    body:not(.admin-public-page) .admin-content-shell .badge.text-bg-warning {
        background: #fffbeb !important;
        border-color: #fde68a !important;
        color: #b45309 !important;
    }

    body:not(.admin-public-page) .admin-content-shell .badge.bg-info,
    body:not(.admin-public-page) .admin-content-shell .badge.text-bg-info {
        background: #eff6ff !important;
        border-color: #bfdbfe !important;
        color: #1d4ed8 !important;
    }

    body:not(.admin-public-page) .admin-content-shell .badge.bg-secondary,
    body:not(.admin-public-page) .admin-content-shell .badge.text-bg-secondary {
        background: #f1f5f9 !important;
        border-color: #cbd5e1 !important;
        color: #475569 !important;
    }

    body:not(.admin-public-page) .admin-content-shell .badge.bg-light {
        background: #f8fbff !important;
        border-color: #dbe4f2 !important;
        color: #5a6a83 !important;
    }

    body:not(.admin-public-page) .admin-content-shell .badge.bg-dark {
        background: #e2e8f0 !important;
        border-color: #cbd5e1 !important;
        color: #334155 !important;
    }

    body:not(.admin-public-page) .admin-content-shell .nav-tabs {
        border-bottom: 1px solid #dbe4f2;
        gap: 0.32rem;
    }

    body:not(.admin-public-page) .admin-content-shell .nav-tabs .nav-link {
        border: 1px solid transparent;
        border-radius: 0.68rem 0.68rem 0 0;
        color: #64748b;
        font-weight: 600;
        font-size: 0.8rem;
    }

    body:not(.admin-public-page) .admin-content-shell .nav-tabs .nav-link:hover {
        color: #1246d4;
        border-color: #d8e3f1 #d8e3f1 #dbe4f2;
        background: #f8fbff;
    }

    body:not(.admin-public-page) .admin-content-shell .nav-tabs .nav-link.active {
        color: #0f46cd;
        border-color: #d8e3f1 #d8e3f1 #ffffff;
        background: #ffffff;
    }

    body:not(.admin-public-page) .admin-content-shell .list-group-item {
        border-color: #eaf0f8;
        color: #334155;
        font-size: 0.83rem;
        padding: 0.72rem 0.9rem;
    }

    body:not(.admin-public-page) .admin-content-shell .dropdown-menu {
        border: 1px solid #d8e3f1;
        border-radius: 0.82rem;
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
        padding: 0.28rem;
    }

    body:not(.admin-public-page) .admin-content-shell .dropdown-item {
        border-radius: 0.58rem;
        color: #334155;
        font-size: 0.81rem;
        padding: 0.46rem 0.64rem;
    }

    body:not(.admin-public-page) .admin-content-shell .dropdown-item:hover,
    body:not(.admin-public-page) .admin-content-shell .dropdown-item:focus {
        background: #f8fbff;
        color: #1246d4;
    }

    body:not(.admin-public-page) .admin-content-shell .card {
        border: 1px solid var(--admin-v3-border);
        border-radius: 1.08rem;
        background: var(--admin-v3-card);
        box-shadow: var(--admin-v3-shadow);
        overflow: hidden;
    }

    body:not(.admin-public-page) .admin-content-shell .card-header {
        border-bottom: 1px solid #e2e8f0;
        background: var(--admin-v3-card-soft);
        padding: 0.9rem 1rem;
    }

    body:not(.admin-public-page) .admin-content-shell .card-footer {
        border-top: 1px solid #e2e8f0;
        background: var(--admin-v3-card-soft);
        padding: 0.8rem 1rem;
    }

    body:not(.admin-public-page) .admin-content-shell .btn {
        border-radius: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.01em;
    }

    body:not(.admin-public-page) .admin-content-shell .btn-primary {
        background: linear-gradient(128deg, var(--admin-v3-brand) 0%, var(--admin-v3-brand-strong) 100%);
        border-color: var(--admin-v3-brand);
        color: #ffffff;
        box-shadow: 0 10px 22px rgba(20, 89, 255, 0.22);
    }

    body:not(.admin-public-page) .admin-content-shell .btn-primary:hover,
    body:not(.admin-public-page) .admin-content-shell .btn-primary:focus {
        background: linear-gradient(128deg, var(--admin-v3-brand-strong) 0%, #0b3bb0 100%);
        border-color: var(--admin-v3-brand-strong);
        color: #ffffff;
        transform: translateY(-1px);
    }

    body:not(.admin-public-page) .admin-content-shell .btn-outline-primary {
        border-color: #b9cbef;
        color: #0f46cd;
        background: #ffffff;
    }

    body:not(.admin-public-page) .admin-content-shell .btn-outline-primary:hover,
    body:not(.admin-public-page) .admin-content-shell .btn-outline-primary:focus {
        border-color: #7ea2ef;
        background: #f4f8ff;
        color: #0b3bb0;
    }

    body:not(.admin-public-page) .admin-content-shell .btn-outline-secondary {
        border-color: #d5dfef;
        color: #475569;
        background: #ffffff;
    }

    body:not(.admin-public-page) .admin-content-shell .btn-outline-secondary:hover,
    body:not(.admin-public-page) .admin-content-shell .btn-outline-secondary:focus {
        border-color: #b5c6e0;
        background: #f8fbff;
        color: #334155;
    }

    body:not(.admin-public-page) .admin-content-shell .form-control,
    body:not(.admin-public-page) .admin-content-shell .form-select,
    body:not(.admin-public-page) .admin-content-shell .input-group-text {
        border-color: #dbe4f2;
        border-radius: 0.78rem;
        background: #ffffff;
        color: var(--admin-v3-ink);
    }

    body:not(.admin-public-page) .admin-content-shell .form-control::placeholder {
        color: #94a3b8;
    }

    body:not(.admin-public-page) .admin-content-shell .form-control:focus,
    body:not(.admin-public-page) .admin-content-shell .form-select:focus {
        border-color: #7ea2ef;
        box-shadow: 0 0 0 3px rgba(20, 89, 255, 0.12);
    }

    body:not(.admin-public-page) .admin-content-shell .table-responsive {
        border: 1px solid #dde6f4;
        border-radius: 0.92rem;
        background: #ffffff;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
    }

    body:not(.admin-public-page) .admin-content-shell .table {
        margin-bottom: 0;
    }

    body:not(.admin-public-page) .admin-content-shell .table > :not(caption) > * > * {
        border-color: #eaf0f8;
        color: #334155;
        padding: 0.8rem 0.92rem;
        vertical-align: middle;
        font-size: 0.84rem;
    }

    body:not(.admin-public-page) .admin-content-shell .table thead th {
        background: #f7faff;
        color: #607088;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    body:not(.admin-public-page) .admin-content-shell .table-hover tbody tr:hover > * {
        background: #f8fbff;
    }

    body:not(.admin-public-page) .admin-content-shell .alert {
        border-radius: 0.92rem;
        box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
    }

    body:not(.admin-public-page) .admin-content-shell .modal-content {
        border-radius: 1.08rem;
        border: 1px solid var(--admin-v3-border);
        box-shadow: 0 18px 36px rgba(10, 26, 55, 0.16);
    }

    body:not(.admin-public-page) .admin-content-shell .modal-header {
        border-bottom: 1px solid #e2e8f0;
        background: linear-gradient(130deg, rgba(20, 89, 255, 0.08) 0%, rgba(0, 179, 164, 0.06) 70%, #ffffff 100%);
    }

    body:not(.admin-public-page) .admin-content-shell .modal-footer {
        border-top: 1px solid #e2e8f0;
        background: #f8fbff;
    }

    body:not(.admin-public-page) .dashboard-v3-hero {
        border: 1px solid rgba(20, 89, 255, 0.14);
        background: linear-gradient(130deg, rgba(20, 89, 255, 0.09) 0%, rgba(0, 179, 164, 0.08) 55%, rgba(255, 255, 255, 0.95) 100%);
        border-radius: 1.35rem;
        padding: 1.2rem;
        box-shadow: 0 18px 36px rgba(10, 26, 55, 0.08);
    }

    body:not(.admin-public-page) .dashboard-v3-chip {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        border-radius: 999px;
        padding: 0.28rem 0.65rem;
        border: 1px solid #d8e0ee;
        background: rgba(255, 255, 255, 0.88);
        color: #415169;
        font-size: 0.72rem;
        font-weight: 700;
    }

    body:not(.admin-public-page) .dashboard-v3-card {
        border-radius: 1.15rem;
        border: 1px solid #dce4f2;
        background: #ffffff;
        box-shadow: 0 14px 30px rgba(18, 30, 54, 0.06);
    }

    body:not(.admin-public-page) .dashboard-v3-card-header {
        padding: 0.95rem 1.05rem;
        border-bottom: 1px solid #e2e8f0;
        background: #f8fbff;
    }

    body:not(.admin-public-page) .dashboard-v3-card-body {
        padding: 1rem 1.05rem 1.1rem;
    }

    body:not(.admin-public-page) .dashboard-v3-meta-pill {
        display: inline-flex;
        align-items: center;
        border: 1px solid #d8e3f1;
        background: #f8fbff;
        color: #5a6a83;
        border-radius: 999px;
        padding: 0.12rem 0.48rem;
        font-size: 0.67rem;
        font-weight: 600;
        line-height: 1.35;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .page-header,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .dashboard-v3-hero {
        border-color: #274675;
        background: linear-gradient(130deg, rgba(32, 74, 156, 0.35) 0%, rgba(10, 52, 80, 0.48) 55%, rgba(13, 29, 56, 0.92) 100%);
        box-shadow: 0 20px 38px rgba(2, 6, 23, 0.45);
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .page-header h2,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .card-title,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell h1,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell h2,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell h3,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell h4,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell h5,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell h6 {
        color: #dbe7f8;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .page-header p {
        color: #a9bbd9;
    }

    html[data-admin-theme='dark'] body.admin-route-plugins .plugin-v3-hero::after {
        background: radial-gradient(circle at center, rgba(107, 147, 255, 0.2), rgba(24, 118, 201, 0));
    }

    html[data-admin-theme='dark'] body.admin-route-plugins .plugin-v3-toolbar .admin-page-toolbar-stat {
        background: #10233e;
        border-color: #2b4b75;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .ajuda-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .api-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .atualizacoes-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .busca-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .comentarios-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .config-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .doisfa-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .editorias-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .envios-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .equipe-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .logs-erros-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .logs-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .menus-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .pagina-form-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .paginas-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .perfil-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .posicoes-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .publicidade-form-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .publicidade-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .tags-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .temas-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .usuario-form-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .usuarios-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .ajuda-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .api-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .atualizacoes-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .busca-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .comentarios-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .doisfa-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .editorias-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .envios-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .equipe-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .logs-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .menus-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .paginas-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .perfil-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .posicoes-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .publicidade-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .system-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .tags-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .temas-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .usuarios-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .wordpress-migrator-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .wp-migrator-stat,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .wp-reprocess-stat {
        background: #0d1d38;
        border-color: #24426d;
        color: #c8d5ea;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .ajuda-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .api-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .atualizacoes-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .busca-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .comentarios-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .doisfa-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .editorias-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .envios-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .equipe-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .logs-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .menus-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .paginas-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .perfil-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .posicoes-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .publicidade-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .system-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .tags-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .temas-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .usuarios-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .wordpress-migrator-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .wp-migrator-stat .label,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .wp-reprocess-stat .label {
        color: #9eb2d2;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .ajuda-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .api-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .atualizacoes-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .busca-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .comentarios-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .doisfa-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .editorias-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .envios-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .equipe-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .logs-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .menus-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .paginas-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .perfil-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .posicoes-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .publicidade-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .system-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .tags-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .temas-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .usuarios-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .wordpress-migrator-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .wp-migrator-stat .value,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .wp-reprocess-stat .value {
        color: #dbe7f8;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-page-toolbar,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .card,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .table-responsive,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .modal-content,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .dashboard-v3-card,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .dashboard-v3-chip {
        background: #0d1d38;
        border-color: #24426d;
        color: #c8d5ea;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .card-header,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .card-footer,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .modal-header,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .modal-footer,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .dashboard-v3-card-header,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .dashboard-v3-meta-pill {
        background: #10233e;
        border-color: #24426d;
        color: #a9bbd9;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .form-control,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .form-select,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .input-group-text {
        background: #10233e;
        border-color: #2b4b75;
        color: #dbe7f8;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .form-control::placeholder {
        color: #8da4c8;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .form-control:focus,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .form-select:focus {
        border-color: #5f8ee6;
        box-shadow: 0 0 0 3px rgba(95, 142, 230, 0.2);
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .table > :not(caption) > * > * {
        border-color: #274675;
        color: #c8d5ea;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .table thead th {
        background: #10233e;
        color: #9eb2d2;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .table-hover tbody tr:hover > * {
        background: #132844;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .btn-outline-primary {
        border-color: #4c71ae;
        color: #b8d4ff;
        background: #10233e;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .btn-outline-primary:hover,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .btn-outline-primary:focus {
        border-color: #6798e8;
        color: #d7e8ff;
        background: #153259;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .btn-outline-secondary {
        border-color: #3a557c;
        color: #b6c8e3;
        background: #10233e;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .btn-outline-secondary:hover,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .btn-outline-secondary:focus {
        border-color: #4e6f9c;
        color: #d8e7ff;
        background: #143056;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .badge.bg-success,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .badge.text-bg-success {
        background: rgba(16, 185, 129, 0.14) !important;
        border-color: rgba(16, 185, 129, 0.36) !important;
        color: #86efac !important;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .badge.bg-danger,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .badge.text-bg-danger {
        background: rgba(239, 68, 68, 0.14) !important;
        border-color: rgba(239, 68, 68, 0.34) !important;
        color: #fca5a5 !important;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .badge.bg-warning,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .badge.text-bg-warning {
        background: rgba(245, 158, 11, 0.14) !important;
        border-color: rgba(245, 158, 11, 0.35) !important;
        color: #fcd34d !important;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .badge.bg-info,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .badge.text-bg-info {
        background: rgba(59, 130, 246, 0.14) !important;
        border-color: rgba(59, 130, 246, 0.35) !important;
        color: #93c5fd !important;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .badge.bg-secondary,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .badge.text-bg-secondary,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .badge.bg-light,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .badge.bg-dark {
        background: rgba(148, 163, 184, 0.16) !important;
        border-color: rgba(148, 163, 184, 0.32) !important;
        color: #cbd5e1 !important;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .nav-tabs {
        border-bottom-color: #2b4b75;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .nav-tabs .nav-link {
        color: #9eb2d2;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .nav-tabs .nav-link:hover {
        color: #dbe7f8;
        border-color: #2b4b75 #2b4b75 #2b4b75;
        background: #112949;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .nav-tabs .nav-link.active {
        color: #dbe7f8;
        border-color: #2b4b75 #2b4b75 #0d1d38;
        background: #0d1d38;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .list-group-item {
        border-color: #274675;
        color: #c8d5ea;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .dropdown-menu {
        border-color: #2b4b75;
        background: #0d1d38;
        box-shadow: 0 16px 30px rgba(2, 6, 23, 0.45);
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .dropdown-item {
        color: #c8d5ea;
    }

    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .dropdown-item:hover,
    html[data-admin-theme='dark'] body:not(.admin-public-page) .admin-content-shell .dropdown-item:focus {
        color: #dbe7f8;
        background: #132844;
    }

    @media (max-width: 767.98px) {
        body:not(.admin-public-page) .page-header {
            padding: 0.9rem;
            border-radius: 1rem;
        }

        body:not(.admin-public-page) .page-header h2 {
            font-size: 1.2rem;
        }

        body:not(.admin-public-page) .admin-content-shell .card {
            border-radius: 0.92rem;
        }

        body:not(.admin-public-page) .admin-content-shell .card-body,
        body:not(.admin-public-page) .admin-content-shell .card-header,
        body:not(.admin-public-page) .admin-content-shell .card-footer {
            padding: 0.74rem 0.86rem;
        }

        body:not(.admin-public-page) .admin-content-shell .table-responsive {
            border-radius: 0.78rem;
            -webkit-overflow-scrolling: touch;
        }

        body:not(.admin-public-page) .admin-content-shell .table > :not(caption) > * > * {
            font-size: 0.78rem;
            padding: 0.56rem 0.62rem;
            white-space: nowrap;
        }

        body:not(.admin-public-page) .admin-content-shell .table thead th {
            font-size: 0.62rem;
        }

        body:not(.admin-public-page) .admin-content-shell .btn {
            font-size: 0.76rem;
            padding: 0.48rem 0.7rem;
        }

        body:not(.admin-public-page) .admin-content-shell .form-control,
        body:not(.admin-public-page) .admin-content-shell .form-select {
            font-size: 16px;
            min-height: 2.35rem;
        }

        body:not(.admin-public-page) .admin-content-shell .list-group-item {
            padding: 0.64rem 0.74rem;
            font-size: 0.79rem;
        }

        body:not(.admin-public-page) .admin-content-shell .modal-dialog {
            margin: 0.55rem;
        }
    }

/* Core-specific additions */
:root {
    --core-border: #dce4f2;
    --core-card: #ffffff;
    --core-shadow: 0 14px 30px rgba(18, 30, 54, 0.06);
    --core-text: #0f172a;
    --core-text-soft: #64748b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.main-content {
    min-height: calc(100vh - 54px);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-public-wrap {
    width: min(980px, 100%);
}

.core-auth-wrap {
    width: min(560px, 100%);
}

.theme-toggle-login {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 30;
}

.core-auth-card {
    border: 1px solid var(--admin-border, #e2e8f0);
    border-radius: 1.1rem;
    background: var(--admin-bg-card, #ffffff);
    box-shadow: var(--admin-shadow-md, 0 10px 28px rgba(15, 23, 42, 0.1));
    overflow: hidden;
}

.core-auth-header {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--admin-border, #e2e8f0);
    background: linear-gradient(130deg, rgba(20, 89, 255, 0.09) 0%, rgba(0, 179, 164, 0.08) 55%, rgba(255, 255, 255, 0.95) 100%);
}

.core-auth-subtitle {
    margin: 0.35rem 0 0;
    color: var(--admin-text-soft, #475569);
    font-size: 0.84rem;
}

.core-card {
    border: 1px solid var(--admin-v3-border, var(--core-border));
    border-radius: 1.08rem;
    background: var(--admin-v3-card, var(--core-card));
    box-shadow: var(--admin-v3-shadow, var(--core-shadow));
    overflow: hidden;
}

.core-card + .core-card {
    margin-top: 1rem;
}

.core-card-header {
    border-bottom: 1px solid #e2e8f0;
    background: var(--admin-v3-card-soft, #f8fbff);
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.core-card-header h2,
.core-card-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.core-card-body {
    padding: 1rem;
}

.core-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.core-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}

.core-kpi {
    border: 1px solid #e5edf8;
    border-radius: 0.95rem;
    background: #ffffff;
    padding: 0.72rem 0.82rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.core-kpi .label {
    display: block;
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.core-kpi .value {
    display: block;
    margin-top: 0.2rem;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.15;
}

.core-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.core-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.core-field label {
    margin-bottom: 0.42rem;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
}

.core-field input,
.core-field select,
.core-field textarea {
    width: 100%;
    border: 1px solid #dbe4f2;
    border-radius: 0.78rem;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.87rem;
    padding: 0.56rem 0.78rem;
}

.core-field input::placeholder,
.core-field textarea::placeholder {
    color: #94a3b8;
}

.core-field input:focus,
.core-field select:focus,
.core-field textarea:focus {
    border-color: #7ea2ef;
    box-shadow: 0 0 0 3px rgba(20, 89, 255, 0.12);
    outline: none;
}

.core-field textarea {
    min-height: 90px;
    resize: vertical;
}

.core-btn {
    border-radius: 0.8rem;
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1.2;
    padding: 0.56rem 0.9rem;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    cursor: pointer;
}

.core-btn.primary {
    background: linear-gradient(135deg, var(--admin-v3-brand, #1459ff) 0%, var(--admin-v3-accent, #00b3a4) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 18px rgba(20, 89, 255, 0.24);
}

.core-btn.primary:hover,
.core-btn.primary:focus {
    filter: brightness(0.97);
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(20, 89, 255, 0.28);
    color: #fff;
}

.core-btn.outline {
    border-color: #b9cbef;
    color: #0f46cd;
    background: #fff;
}

.core-btn.outline:hover,
.core-btn.outline:focus {
    border-color: #7ea2ef;
    background: #f4f8ff;
    color: #0b3bb0;
}

.core-btn.danger {
    border-color: #fecaca;
    color: #b91c1c;
    background: #fff;
}

.core-btn.danger:hover,
.core-btn.danger:focus {
    border-color: #fca5a5;
    color: #991b1b;
    background: #fef2f2;
}

.core-alert {
    border-radius: 0.9rem;
    font-size: 0.84rem;
    border: 1px solid transparent;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    margin-bottom: 0.75rem;
    padding: 0.72rem 0.82rem;
}

.core-alert.success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.core-alert.error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.core-alert.warn {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.core-muted {
    color: var(--core-text-soft);
    font-size: 0.82rem;
}

.core-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.56rem;
    border: 1px solid transparent;
}

.core-badge.ok {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}

.core-badge.offline {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.core-badge.erro {
    background: #fffbeb;
    border-color: #fde68a;
    color: #b45309;
}

.core-badge.novo {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.table > :not(caption) > * > *,
.table th,
.table td {
    border-color: #eaf0f8;
    color: #334155;
    padding: 0.78rem 0.92rem;
    vertical-align: middle;
    font-size: 0.84rem;
}

.table thead th {
    background: #f7faff;
    color: #607088;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

html[data-admin-theme='dark'] .core-kpi {
    background: #112848;
    border-color: #2a466f;
}

html[data-admin-theme='dark'] .core-kpi .label {
    color: #8ea4c2;
}

html[data-admin-theme='dark'] .core-kpi .value {
    color: #e7edf8;
}

html[data-admin-theme='dark'] .core-field label,
html[data-admin-theme='dark'] .core-muted {
    color: #b2bfd6;
}

html[data-admin-theme='dark'] .core-field input,
html[data-admin-theme='dark'] .core-field select,
html[data-admin-theme='dark'] .core-field textarea {
    background: #112848;
    border-color: #2a466f;
    color: #e7edf8;
}

html[data-admin-theme='dark'] .core-field input::placeholder,
html[data-admin-theme='dark'] .core-field textarea::placeholder {
    color: #86a0c3;
}

html[data-admin-theme='dark'] .core-btn.outline {
    border-color: #4a6ea1;
    color: #b9d7ff;
    background: #10233f;
}

html[data-admin-theme='dark'] .core-btn.outline:hover,
html[data-admin-theme='dark'] .core-btn.outline:focus {
    border-color: #6f94ca;
    background: #143055;
    color: #d4e8ff;
}

html[data-admin-theme='dark'] .core-btn.danger {
    border-color: #b45353;
    color: #fecaca;
    background: #2b1520;
}

html[data-admin-theme='dark'] .core-btn.danger:hover,
html[data-admin-theme='dark'] .core-btn.danger:focus {
    border-color: #dc7676;
    background: #3a1b29;
    color: #ffe4e4;
}

html[data-admin-theme='dark'] .core-alert.success {
    background: rgba(22, 163, 74, 0.18);
    border-color: rgba(22, 163, 74, 0.35);
    color: #86efac;
}

html[data-admin-theme='dark'] .core-alert.warn {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.35);
    color: #fcd34d;
}

html[data-admin-theme='dark'] .core-alert.error {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

@media (max-width: 992px) {
    .core-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .core-form-grid {
        grid-template-columns: 1fr;
    }
}
