body.sighosp-app {
    --sighosp-header-h: 60px;
    --sighosp-module-nav-h: 56px;
    --sighosp-primary: #25335d;
    --sighosp-border: #d8dfef;
}

body.sighosp-app #sidebar,
body.sighosp-app .toggle-sidebar-btn {
    display: none !important;
}

body.sighosp-app #header {
    left: 0 !important;
    width: 100% !important;
}

body.sighosp-app #main,
body.sighosp-app main.main {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-top: calc(var(--sighosp-header-h) + var(--sighosp-module-nav-h) + 16px);
}

body.sighosp-app .sighosp-module-nav {
    position: fixed;
    top: var(--sighosp-header-h);
    left: 0;
    right: 0;
    z-index: 995;
    background: #fff;
    border-bottom: 1px solid var(--sighosp-border);
    box-shadow: 0 4px 18px rgba(37, 51, 93, 0.06);
}

body.sighosp-app .sighosp-module-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.55rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

body.sighosp-app .sighosp-module-nav-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--sighosp-primary);
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

body.sighosp-app .sighosp-module-nav-pages {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem;
    background: #f3f6fc;
    border-radius: 12px;
    overflow-x: auto;
}

body.sighosp-app .sighosp-page-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: 9px;
    color: #4b5d82;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

body.sighosp-app .sighosp-page-link:hover {
    color: var(--sighosp-primary);
    background: rgba(255, 255, 255, 0.75);
}

body.sighosp-app .sighosp-page-link.active {
    background: #fff;
    color: var(--sighosp-primary);
    box-shadow: 0 2px 8px rgba(37, 51, 93, 0.1);
}

body.sighosp-app .escala-tabs {
    background: #eef2fa;
    border-radius: 12px;
    padding: 0.35rem;
    border-bottom: 0;
    gap: 0.35rem;
}

body.sighosp-app .escala-tabs .breadcrumb-item a {
    border-radius: 9px;
    border: 0;
    padding: 0.55rem 0.85rem;
}

body.sighosp-app .escala-tabs .breadcrumb-item a.activemenu,
body.sighosp-app .escala-tabs .breadcrumb-item a.activemenu:hover {
    background: #fff;
    color: var(--sighosp-primary);
    box-shadow: 0 2px 8px rgba(37, 51, 93, 0.1);
}

body.sighosp-app .footer {
    margin-left: 0 !important;
}

@media (max-width: 768px) {
    body.sighosp-app .sighosp-module-nav-inner {
        flex-direction: column;
        align-items: stretch;
    }

    body.sighosp-app .sighosp-module-nav-pages {
        width: 100%;
    }
}

body.sighosp-app .sighosp-logo-text {
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: .06em;
}

body.sighosp-app .sighosp-logo-sub {
    color: rgba(255, 255, 255, .75);
    font-size: .85rem;
    font-weight: 600;
}
