/**
 * Tema Norden: variáveis, tipografia base e assistente Norbi (FAB).
 */
:root {
    --norden-deep: #050a12;
    --norden-bg: #0a1018;
    --norden-surface: #0f1724;
    --norden-elevated: #141d2e;
    --norden-primary: #00b4d8;
    --norden-primary-hover: #33dfff;
    --norden-muted: #94a3b8;
    --norden-dim: #64748b;
    --norden-text: #e2e8f0;
    --norden-border: rgba(148, 163, 184, 0.14);
}

body.norden-theme {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    /* Alinhado à página Selecionar organização / cliente (page-surface): leitura confortável em todo o painel */
    font-size: 1.0625rem;
    line-height: 1.55;
}

body.norden-theme .small,
body.norden-theme small {
    font-size: 0.9375rem !important;
    line-height: 1.45;
}

body.norden-theme .table-sm {
    font-size: 0.98rem;
}

body.norden-theme .helpdesk-sidebar .nav-link,
body.norden-theme .helpdesk-sidebar .dropdown-item {
    font-size: 0.8125rem;
    line-height: 1.4;
}

/* Títulos de secção do menu: ver também design-system.css (última folha, com !important) */
body.norden-theme .helpdesk-sidebar button.nav-section-toggle {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    line-height: 1.3;
}

body.norden-theme .table {
    color: inherit;
}

body.norden-theme .form-control {
    background: rgba(15, 23, 36, 0.9);
    border-color: var(--norden-border);
    color: #f1f5f9;
}

body.norden-theme .form-control:focus {
    border-color: var(--norden-primary);
    box-shadow: 0 0 0 0.15rem rgba(0, 180, 216, 0.25);
    background: rgba(15, 23, 36, 1);
    color: #fff;
}

body.norden-theme .form-select,
body.norden-theme .custom-select {
    background-color: rgba(15, 23, 36, 0.95);
    border-color: var(--norden-border);
    color: #f1f5f9;
}

body.norden-theme .form-select:focus,
body.norden-theme .custom-select:focus {
    border-color: var(--norden-primary);
    box-shadow: 0 0 0 0.15rem rgba(0, 180, 216, 0.25);
}

body.norden-theme .btn-primary {
    background: linear-gradient(180deg, #0891b2, #0e7490);
    border-color: #0e7490;
    color: #ecfeff;
}

body.norden-theme .btn-primary:hover {
    background: linear-gradient(180deg, #06b6d4, #0891b2);
    border-color: #06b6d4;
}

body.norden-theme .text-muted {
    color: var(--norden-muted) !important;
}

/* ——— Cartões Bootstrap: fundo escuro (evita “cards brancos” em qualquer página) ——— */
body.norden-theme .card {
    background-color: var(--norden-surface);
    border-color: var(--norden-border);
    color: var(--norden-text);
}

body.norden-theme .card-header {
    background-color: rgba(15, 23, 42, 0.88);
    border-bottom-color: var(--norden-border);
    color: #f1f5f9;
}

body.norden-theme .card-footer {
    background-color: rgba(15, 23, 42, 0.75);
    border-top-color: var(--norden-border);
    color: var(--norden-muted);
}

body.norden-theme .card-body {
    color: var(--norden-text);
}

body.norden-theme .card.bg-light,
body.norden-theme .card-body.bg-light,
body.norden-theme .bg-light {
    background-color: rgba(30, 41, 59, 0.65) !important;
    color: var(--norden-text) !important;
}

body.norden-theme .card.tenant-selector {
    background: linear-gradient(165deg, rgba(17, 28, 44, 0.98), rgba(12, 20, 32, 0.96));
    border-color: var(--norden-border);
}

body.norden-theme .list-group-item {
    background-color: rgba(15, 23, 36, 0.65);
    border-color: var(--norden-border);
    color: var(--norden-text);
}

body.norden-theme .list-group-item.active {
    background-color: rgba(0, 180, 216, 0.22);
    border-color: rgba(0, 180, 216, 0.45);
    color: #ecfeff;
}

/* Bootstrap: .list-group-item-action:hover usa #495057 — ilegível no escuro */
body.norden-theme .list-group-item-action:hover,
body.norden-theme .list-group-item-action:focus {
    color: var(--norden-text);
    background-color: rgba(0, 180, 216, 0.1);
}

body.norden-theme .list-group-item-action:active {
    color: #f8fafc;
    background-color: rgba(0, 180, 216, 0.16);
}

body.norden-theme .shadow-sm {
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.45) !important;
}

body.norden-theme .pagination .page-link {
    background-color: rgba(15, 23, 36, 0.95);
    border-color: var(--norden-border);
    color: #cbd5e1;
}

body.norden-theme .pagination .page-item.active .page-link {
    background: linear-gradient(180deg, #0891b2, #0e7490);
    border-color: #0e7490;
    color: #ecfeff;
}

body.norden-theme .pagination .page-item.disabled .page-link {
    background-color: rgba(15, 23, 36, 0.5);
    color: var(--norden-dim);
}

/* Paginação Laravel (vista Tailwind): SVG sem width/height herdavam escala absurda */
body.norden-theme nav[role="navigation"] .inline-flex svg,
body.norden-theme .pagination svg {
    width: 0.875rem;
    height: 0.875rem;
    max-width: 1rem;
    max-height: 1rem;
    flex-shrink: 0;
    vertical-align: middle;
}

body.norden-theme .system-logs-pagination .pagination {
    margin-bottom: 0;
}

body.norden-theme .system-logs-errors-table {
    min-width: 48rem;
}

body.norden-theme .system-logs-errors-table__message {
    max-width: 18rem;
}

/* ——— Alertas (glass / contraste no escuro) ——— */
body.norden-theme .alert {
    border-radius: 10px;
    border-width: 1px;
    backdrop-filter: blur(8px);
}

body.norden-theme .alert-success {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(52, 211, 153, 0.38);
    color: #a7f3d0;
}

body.norden-theme .alert-danger {
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(248, 113, 113, 0.42);
    color: #fecaca;
}

body.norden-theme .alert-warning {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(251, 191, 36, 0.4);
    color: #fde68a;
}

body.norden-theme .alert-info {
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(96, 165, 250, 0.4);
    color: #bfdbfe;
}

body.norden-theme .alert .close {
    color: inherit;
    opacity: 0.75;
    text-shadow: none;
}

body.norden-theme .alert .close:hover {
    opacity: 1;
}

/* ——— Dropdowns ——— */
body.norden-theme .dropdown-menu {
    background: linear-gradient(165deg, rgba(20, 29, 46, 0.98), rgba(12, 18, 28, 0.98));
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

body.norden-theme .dropdown-item {
    color: #e2e8f0;
}

body.norden-theme .dropdown-item:hover,
body.norden-theme .dropdown-item:focus {
    background: rgba(0, 180, 216, 0.12);
    color: #f8fafc;
}

body.norden-theme .dropdown-divider {
    border-top-color: rgba(148, 163, 184, 0.2);
}

body.norden-theme .dropdown-header {
    color: var(--norden-dim);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ——— Modais ——— */
body.norden-theme .modal-content {
    background: linear-gradient(165deg, rgba(15, 23, 36, 0.98), rgba(8, 14, 24, 0.99));
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

body.norden-theme .modal-header {
    border-bottom-color: rgba(148, 163, 184, 0.15);
}

body.norden-theme .modal-footer {
    border-top-color: rgba(148, 163, 184, 0.15);
}

body.norden-theme .close {
    color: #e2e8f0;
    text-shadow: none;
    opacity: 0.8;
}

/* ——— Botões outline (topbar e filtros) ——— */
body.norden-theme .btn-outline-secondary {
    color: #cbd5e1;
    border-color: rgba(148, 163, 184, 0.38);
}

body.norden-theme .btn-outline-secondary:hover {
    background: rgba(0, 180, 216, 0.12);
    border-color: rgba(34, 211, 238, 0.45);
    color: #f8fafc;
}

body.norden-theme .btn-outline-light {
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.35);
}

body.norden-theme .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(34, 211, 238, 0.4);
    color: #fff;
}

/* ——— Tabelas (incl. sem classe helpdesk-table) ——— */
body.norden-theme .table {
    border-color: var(--norden-border);
    -webkit-font-smoothing: antialiased;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
}

body.norden-theme .table thead th {
    border-bottom-color: rgba(34, 211, 238, 0.18);
    color: var(--norden-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.norden-theme .table td {
    border-color: var(--norden-border);
    vertical-align: middle;
}

/* Bootstrap .table-hover define color:#212529 no tr — invisível no tema escuro */
body.norden-theme .table-hover tbody tr:hover {
    color: var(--norden-text);
    background-color: rgba(0, 180, 216, 0.08);
    background-image: linear-gradient(90deg, rgba(34, 211, 238, 0.04), transparent 55%);
    box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.06);
}

body.norden-theme .table-hover tbody tr:hover > td,
body.norden-theme .table-hover tbody tr:hover > th {
    color: var(--norden-text);
}

body.norden-theme .table-hover tbody tr:hover .text-muted,
body.norden-theme .table-hover tbody tr:hover small {
    color: var(--norden-muted) !important;
}

body.norden-theme .table-hover tbody tr:hover a:not(.btn) {
    color: var(--norden-primary-hover);
}

body.norden-theme .table-hover tbody tr:hover a:not(.btn):hover,
body.norden-theme .table-hover tbody tr:hover a:not(.btn):focus {
    color: #ecfeff;
}

body.norden-theme .table-hover tbody tr:hover strong,
body.norden-theme .table-hover tbody tr:hover .font-weight-bold {
    color: #f8fafc;
}

body.norden-theme .table-hover tbody tr:hover .text-body {
    color: var(--norden-text) !important;
}

body.norden-theme .table tbody td,
body.norden-theme .table tbody th {
    color: var(--norden-text);
}

/* Zebrado Bootstrap usa rgba(0,0,0,.05) — no escuro fica inconsistente */
body.norden-theme .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.028);
}

body.norden-theme .table-bordered {
    border-color: var(--norden-border);
}

body.norden-theme .table-bordered th,
body.norden-theme .table-bordered td {
    border-color: var(--norden-border);
}

/* ——— Norbi FAB ——— */
.norbi-fab {
    position: fixed;
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 11050;
    font-size: 0.9rem;
    isolation: isolate;
}

.norbi-fab__launcher {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    border: 2px solid rgba(0, 180, 216, 0.5);
    background: var(--norden-elevated);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    padding: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.norbi-fab__launcher:hover {
    border-color: var(--norden-primary);
}

.norbi-fab__launcher-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.norbi-fab__launcher-fallback {
    font-size: 1.5rem;
    color: var(--norden-primary);
}

.norbi-fab__launcher-ring {
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid rgba(0, 180, 216, 0.35);
    pointer-events: none;
    animation: norbi-pulse 2.5s ease-in-out infinite;
}

@keyframes norbi-pulse {
    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.04);
    }
}

.norbi-fab__panel {
    position: absolute;
    right: 0;
    bottom: 64px;
    width: min(400px, calc(100vw - 2rem));
    max-height: min(560px, 70vh);
    max-height: min(560px, 70dvh);
    display: none;
    flex-direction: column;
    background: linear-gradient(165deg, rgba(15, 23, 36, 0.98), rgba(8, 15, 28, 0.99));
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 14px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35),
        0 12px 48px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(0, 180, 216, 0.08);
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.norbi-fab__panel[aria-hidden='false'],
.norbi-fab__panel.norbi-fab__panel--open {
    display: flex;
}

.norbi-fab__panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(34, 211, 238, 0.12);
    background: linear-gradient(180deg, rgba(6, 14, 26, 0.95), rgba(8, 18, 32, 0.75));
}

.norbi-fab__panel-title-wrap {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.norbi-fab__panel-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(0, 180, 216, 0.35), rgba(8, 51, 68, 0.5));
    border: 1px solid rgba(34, 211, 238, 0.35);
    color: #a5f3fc;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.norbi-fab__panel-title {
    font-size: 1rem;
    margin: 0;
    color: #f8fafc;
}

.norbi-fab__panel-sub {
    margin: 0;
    font-size: 0.8rem;
    color: var(--norden-muted);
}

.norbi-fab__header-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.norbi-fab__resize,
.norbi-fab__close,
.norbi-fab__menu-toggle {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--norden-border);
    background: transparent;
    color: #cbd5e1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.norbi-fab__resize:hover,
.norbi-fab__close:hover,
.norbi-fab__menu-toggle:hover {
    background: rgba(0, 180, 216, 0.12);
    color: #fff;
}

.norbi-fab__overflow-wrap {
    position: relative;
}

.norbi-fab__dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.35rem;
    min-width: 220px;
    padding: 0.5rem;
    background: var(--norden-elevated);
    border: 1px solid var(--norden-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.norbi-fab__dropdown-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--norden-dim);
    margin: 0 0 0.35rem;
}

.norbi-fab__dropdown-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.norbi-fab__audio {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--norden-border);
    background: rgba(15, 23, 36, 0.8);
    color: #e2e8f0;
    cursor: pointer;
}

.norbi-fab__audio:hover {
    border-color: var(--norden-primary);
}

.norbi-fab__clear {
    margin-top: 0.5rem;
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--norden-border);
    background: rgba(15, 23, 36, 0.65);
    color: #94a3b8;
    padding: 0.4rem;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.norbi-fab__clear:hover {
    border-color: rgba(248, 113, 113, 0.45);
    color: #e2e8f0;
    background: rgba(127, 29, 29, 0.2);
}

.norbi-fab__messages {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem;
    min-height: 120px;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.norbi-fab__msg {
    max-width: 100%;
    margin-bottom: 0.65rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    line-height: 1.45;
    word-break: break-word;
}

.norbi-fab__msg--user {
    margin-left: 1.5rem;
    background: rgba(6, 182, 212, 0.18);
    border: 1px solid rgba(34, 211, 238, 0.28);
    color: #ecfeff;
}

.norbi-fab__msg--assistant {
    margin-right: 1.5rem;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--norden-border);
    color: #e2e8f0;
}

.norbi-fab__msg-text {
    white-space: pre-wrap;
}

.norbi-fab__msg--system {
    text-align: center;
    background: transparent;
    border: none;
    padding: 0.25rem;
}

.norbi-fab__action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.norbi-fab__form {
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid var(--norden-border);
    background: rgba(5, 10, 18, 0.35);
}

.norbi-fab__quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.norbi-fab__quick-link {
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    background: rgba(0, 180, 216, 0.12);
    color: #67e8f9;
}

.norbi-fab__suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.norbi-fab__suggestion {
    font-size: 0.78rem;
    font-weight: 500;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: linear-gradient(180deg, rgba(15, 23, 36, 0.95), rgba(8, 20, 35, 0.85));
    color: #cbd5e1;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
    transition:
        border-color 0.15s ease,
        background 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease;
}

.norbi-fab__suggestion:hover,
.norbi-fab__suggestion:focus-visible {
    outline: none;
    border-color: rgba(34, 211, 238, 0.5);
    color: #f0fdfa;
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.2);
    background: rgba(0, 180, 216, 0.12);
}

.norbi-fab__input-hint {
    font-family: ui-monospace, 'Cascadia Code', 'Segoe UI', system-ui, sans-serif;
    font-size: 0.7rem !important;
    letter-spacing: 0.02em;
    opacity: 0.85;
}

.norbi-fab__input {
    width: 100%;
    resize: vertical;
    min-height: 56px;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    border: 1px solid rgba(34, 211, 238, 0.15);
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.norbi-fab__input:focus {
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.norbi-fab__send {
    width: 100%;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.55rem 1rem;
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.25);
}

.norbi-fab__send:hover {
    box-shadow: 0 6px 24px rgba(34, 211, 238, 0.3);
}

/* Painel expandido: classe no mesmo elemento que .norbi-fab__panel (não descendente) */
.norbi-fab__panel.norbi-fab__panel--expanded {
    max-height: min(85vh, 720px);
    max-height: min(85dvh, 720px);
    width: min(520px, calc(100vw - 1rem));
}

/* Norbi — shell SaaS (/norbi-saas): sem marca no layout; painel central grande */
.norbi-saas-shell {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(8, 51, 68, 0.45), transparent 55%), #0a0f1a;
}

.norbi-saas-shell__bar {
    flex: 0 0 auto;
    z-index: 11040;
    background: rgba(15, 23, 42, 0.92);
    border-bottom: 1px solid rgba(34, 211, 238, 0.12);
    backdrop-filter: blur(8px);
}

.norbi-saas-shell__bar-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.norbi-saas-shell__title {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: #f1f5f9;
}

.norbi-saas-shell__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.norbi-saas-shell__main {
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    padding: 0;
}

body.norbi-saas-shell .norbi-fab.norbi-fab--saas-fullpage {
    position: fixed;
    left: 0;
    right: 0;
    top: 2.75rem;
    bottom: 0;
    z-index: 11030;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom))
        max(0.75rem, env(safe-area-inset-left));
    pointer-events: none;
    font-size: 1rem;
}

body.norbi-saas-shell .norbi-fab.norbi-fab--saas-fullpage > * {
    pointer-events: auto;
}

body.norbi-saas-shell .norbi-fab--saas-fullpage .norbi-fab__panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(1024px, 100%);
    height: min(calc(100vh - 4rem), calc(100dvh - 4rem), 820px);
    max-height: min(calc(100vh - 4rem), calc(100dvh - 4rem), 820px);
    max-width: 100%;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.4),
        0 24px 64px rgba(0, 0, 0, 0.55),
        0 0 60px rgba(0, 180, 216, 0.1);
}

body.norbi-saas-shell .norbi-fab--saas-fullpage .norbi-fab__messages {
    flex: 1 1 auto;
    min-height: 14rem;
    font-size: 1rem;
}

body.norbi-saas-shell .norbi-fab--saas-fullpage .norbi-fab__form {
    flex-shrink: 0;
}

body.norbi-saas-shell .norbi-fab--saas-fullpage .norbi-fab__input {
    min-height: 3.5rem;
}

@media (max-width: 576px) {
    body.norbi-saas-shell .norbi-fab--saas-fullpage .norbi-fab__panel {
        height: min(calc(100vh - 3.5rem), calc(100dvh - 3.5rem));
        max-height: min(calc(100vh - 3.5rem), calc(100dvh - 3.5rem));
        border-radius: 12px;
    }
}

/* Norbi SaaS dentro de iframe (Helpdesk): evitar scroll duplo e ocupar área útil */
html.norbi-saas--embedded,
html.norbi-saas--embedded body.norbi-saas-shell {
    height: 100%;
    overflow: hidden;
}

html.norbi-saas--embedded body.norbi-saas-shell {
    min-height: 100%;
}

/* Métricas / SOC hero */
.norden-metric-card__link {
    color: inherit;
}

.norden-soc-hero__value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
}

.norden-soc-hero__label {
    font-size: 0.8rem;
    color: var(--norden-muted);
}
