.sat-frontend {
    --sat-front-primary: #003366;
    --sat-front-primary-dark: #00264d;
    --sat-front-accent: #b68a35;
    --sat-front-bg: #f6f8fb;
    --sat-front-surface: #ffffff;
    --sat-front-border: #d9e0e8;
    --sat-front-text: #17212b;
    --sat-front-muted: #5c6670;
    --sat-front-focus: #005fcc;
    background: var(--sat-front-bg);
    box-sizing: border-box;
    color: var(--sat-front-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    min-height: 100vh;
    width: 100%;
}

.sat-standalone-body {
    background: #f6f8fb;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

.sat-frontend *,
.sat-frontend *::before,
.sat-frontend *::after {
    box-sizing: border-box;
}

.sat-front-sr-only {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.sat-frontend a:focus-visible,
.sat-frontend button:focus-visible {
    outline: 3px solid var(--sat-front-focus);
    outline-offset: 3px;
}

.sat-frontend-auth {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 48px 20px;
}

.sat-front-auth-panel,
.sat-front-header,
.sat-front-panel,
.sat-front-card {
    background: var(--sat-front-surface);
    border: 1px solid var(--sat-front-border);
    border-radius: 8px;
}

.sat-front-auth-panel {
    max-width: 680px;
    padding: 36px;
}

.sat-front-auth-logo {
    background: #ffffff;
    display: block;
    height: auto;
    margin: 0 0 22px;
    max-width: 260px;
    width: min(260px, 100%);
}

.sat-front-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin: 0 auto;
    max-width: 1180px;
    padding: 28px;
}

.sat-front-header h1,
.sat-front-auth-panel h1 {
    margin: 0;
    color: var(--sat-front-primary);
}

.sat-front-eyebrow {
    color: var(--sat-front-accent);
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 6px;
}

.sat-front-user {
    align-self: center;
    border-left: 4px solid var(--sat-front-accent);
    padding-left: 16px;
}

.sat-front-user span {
    display: block;
    color: var(--sat-front-muted);
}

.sat-front-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px auto;
    max-width: 1180px;
}

.sat-front-nav a,
.sat-front-button {
    border: 1px solid var(--sat-front-border);
    border-radius: 6px;
    color: var(--sat-front-primary);
    display: inline-flex;
    font-weight: 700;
    padding: 10px 14px;
    text-decoration: none;
}

.sat-front-button--primary {
    background: var(--sat-front-primary);
    border-color: var(--sat-front-primary);
    color: #ffffff;
}

.sat-front-main {
    margin: 0 auto;
    max-width: 1180px;
    padding: 0 20px 40px;
}

.sat-front-grid,
.sat-front-module-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 16px 0;
}

.sat-front-module-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sat-front-card,
.sat-front-panel {
    padding: 20px;
}

.sat-front-card h2,
.sat-front-panel h2,
.sat-front-module-grid h3 {
    margin-top: 0;
}

.sat-front-card strong {
    color: var(--sat-front-primary);
    display: block;
    font-size: 2rem;
}

.sat-front-panel {
    margin-top: 16px;
}

.sat-front-panel-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.sat-front-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sat-front-table-wrap {
    overflow-x: auto;
}

.sat-front-table {
    border-collapse: collapse;
    min-width: 860px;
    width: 100%;
}

.sat-front-table th,
.sat-front-table td {
    border-bottom: 1px solid var(--sat-front-border);
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.sat-front-table th {
    color: var(--sat-front-primary-dark);
}

.sat-front-badge {
    border: 1px solid var(--sat-front-border);
    border-radius: 999px;
    display: inline-block;
    font-weight: 700;
    padding: 3px 9px;
}

.sat-front-badge--info {
    background: #e8f1fb;
}

.sat-front-badge--neutral {
    background: #f4f6f8;
}

.sat-front-meta {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sat-front-meta dt {
    color: var(--sat-front-muted);
    font-weight: 700;
}

.sat-front-meta dd {
    margin: 0;
}

.sat-front-empty,
.sat-front-notice {
    background: #f4f6f8;
    border-left: 4px solid var(--sat-front-accent);
    padding: 14px;
}

.sat-front-timeline {
    border-left: 3px solid var(--sat-front-border);
    list-style: none;
    margin: 0;
    padding-left: 18px;
}

.sat-front-timeline li {
    margin-bottom: 14px;
}

.sat-front-timeline time,
.sat-front-timeline span {
    color: var(--sat-front-muted);
    display: block;
}

@media (max-width: 900px) {
    .sat-front-header,
    .sat-front-panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .sat-front-grid,
    .sat-front-module-grid,
    .sat-front-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .sat-front-grid,
    .sat-front-module-grid,
    .sat-front-meta {
        grid-template-columns: 1fr;
    }

    .sat-front-auth-panel {
        padding: 24px;
    }
}

.sat-front-footer {
    border-top: 1px solid var(--sat-front-border);
    color: var(--sat-front-muted);
    font-size: 13px;
    margin: 24px auto 0;
    max-width: 1180px;
    padding: 16px 0 0;
    text-align: right;
}

.sat-frontend button,
.sat-frontend input {
    font: inherit;
}

.sat-front-shell {
    display: grid;
    grid-template-columns: 296px minmax(0, 1fr);
    min-height: 100vh;
    width: 100%;
}

.sat-front-workspace {
    min-width: 0;
    padding: 20px;
}

.sat-front-sidebar {
    background: var(--sat-front-surface);
    border-right: 1px solid var(--sat-front-border);
    min-height: 100vh;
    padding: 18px;
    position: sticky;
    top: 0;
}

.sat-front-sidebar-brand {
    border-bottom: 1px solid var(--sat-front-border);
    margin-bottom: 18px;
    padding-bottom: 16px;
}

.sat-front-sidebar-brand strong,
.sat-front-sidebar-brand span,
.sat-front-user small,
.sat-front-user a {
    display: block;
}

.sat-front-sidebar-brand strong {
    color: var(--sat-front-primary);
    font-size: 1.1rem;
}

.sat-front-sidebar-brand span,
.sat-front-sidebar-section p {
    color: var(--sat-front-muted);
    margin: 4px 0 0;
}

.sat-front-sidebar-nav,
.sat-front-sidebar-section {
    display: grid;
    gap: 6px;
}

.sat-front-sidebar-section {
    border-top: 1px solid var(--sat-front-border);
    margin-top: 18px;
    padding-top: 18px;
}

.sat-front-sidebar a {
    align-items: center;
    border-radius: 6px;
    color: var(--sat-front-text);
    display: flex;
    gap: 10px;
    min-height: 42px;
    padding: 9px 10px;
    text-decoration: none;
}

.sat-front-sidebar a:hover,
.sat-front-sidebar a:focus-visible,
.sat-front-sidebar a.is-active {
    background: #e8f1fb;
    color: var(--sat-front-primary-dark);
}

.sat-front-sidebar a.is-active {
    border-left: 4px solid var(--sat-front-accent);
    font-weight: 700;
}

.sat-front-subitem {
    font-size: 0.94rem;
    margin-left: 16px;
}

.sat-front-header {
    align-items: center;
    margin: 0;
    max-width: none;
}

.sat-front-menu-toggle {
    align-items: center;
    background: var(--sat-front-surface);
    border: 1px solid var(--sat-front-border);
    border-radius: 6px;
    color: var(--sat-front-primary);
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    gap: 8px;
    min-height: 42px;
    padding: 9px 12px;
}

.sat-front-title-block {
    flex: 1 1 auto;
}

.sat-front-brand-lockup {
    align-items: center;
    background: #ffffff;
    display: flex;
    flex: 0 1 260px;
    min-width: 190px;
}

.sat-front-app-logo {
    background: #ffffff;
    display: block;
    height: auto;
    max-height: 46px;
    max-width: 244px;
    object-fit: contain;
    width: 100%;
}

.sat-front-search {
    display: grid;
    gap: 4px;
    min-width: 220px;
}

.sat-front-search label {
    color: var(--sat-front-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.sat-front-search input {
    border: 1px solid var(--sat-front-border);
    border-radius: 6px;
    min-height: 40px;
    padding: 8px 10px;
}

.sat-front-user a {
    color: var(--sat-front-primary);
    font-weight: 700;
    margin-top: 4px;
}

.sat-front-main {
    margin: 0;
    max-width: none;
}

.sat-front-welcome {
    align-items: center;
    background: var(--sat-front-surface);
    border: 1px solid var(--sat-front-border);
    border-radius: 8px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: 16px;
    padding: 24px;
}

.sat-front-welcome h2,
.sat-front-welcome p {
    margin-bottom: 0;
}

.sat-front-kicker {
    color: var(--sat-front-accent);
    font-weight: 700;
    margin: 0 0 6px;
}

.sat-front-dashboard-columns,
.sat-front-admin-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sat-front-action-note,
.sat-front-results-count {
    color: var(--sat-front-muted);
    font-weight: 700;
}

.sat-front-empty-state {
    background: #f4f6f8;
    border-left: 4px solid var(--sat-front-accent);
    padding: 14px;
}

.sat-front-empty-state h3 {
    margin-top: 0;
}

.sat-front-admin-card {
    border: 1px solid var(--sat-front-border);
    border-radius: 8px;
    color: var(--sat-front-text);
    display: grid;
    gap: 6px;
    padding: 16px;
    text-decoration: none;
}

.sat-front-admin-card.is-active,
.sat-front-admin-card:focus-visible,
.sat-front-admin-card:hover {
    background: #e8f1fb;
    border-color: var(--sat-front-primary);
}

.sat-front-footer {
    margin-left: 20px;
    margin-right: 20px;
    max-width: none;
}

.is-sidebar-collapsed .sat-front-shell {
    grid-template-columns: 86px minmax(0, 1fr);
}

.is-sidebar-collapsed .sat-front-sidebar {
    padding: 18px 12px;
}

.is-sidebar-collapsed .sat-front-sidebar-brand span,
.is-sidebar-collapsed .sat-front-sidebar a span:not(.sat-front-nav-icon),
.is-sidebar-collapsed .sat-front-sidebar-section p {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.is-sidebar-collapsed .sat-front-sidebar a {
    justify-content: center;
}

.is-sidebar-collapsed .sat-front-subitem {
    display: none;
}

.sat-front-drawer-backdrop {
    background: rgba(0, 0, 0, 0.35);
    inset: 0;
    position: fixed;
    z-index: 20;
}

@media (max-width: 900px) {
    .sat-front-welcome {
        align-items: flex-start;
        flex-direction: column;
    }

    .sat-front-dashboard-columns,
    .sat-front-admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .sat-front-shell,
    .is-sidebar-collapsed .sat-front-shell {
        display: block;
    }

    .sat-front-sidebar {
        bottom: 0;
        left: 0;
        max-width: 320px;
        overflow-y: auto;
        position: fixed;
        top: 0;
        transform: translateX(-105%);
        transition: transform 160ms ease;
        width: 82vw;
        z-index: 30;
    }

    .is-drawer-open .sat-front-sidebar {
        transform: translateX(0);
    }

    .sat-front-workspace {
        padding: 12px;
    }

    .sat-front-search {
        min-width: 100%;
    }
}

/* Patch 0.6.2: override final para impedir que regras antigas escondam os SVGs do menu recolhido. */
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:hover .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:focus-visible .sat-front-nav-icon {
    clip: auto !important; /* Necessario para neutralizar regras legadas com clip em spans do menu recolhido. */
    clip-path: none !important; /* Necessario para neutralizar regras legadas com clip-path em spans do menu recolhido. */
    color: #374151 !important;
    display: inline-flex !important;
    flex: 0 0 22px !important;
    height: 22px !important;
    opacity: 1 !important;
    overflow: visible !important;
    position: static !important;
    visibility: visible !important;
    white-space: normal !important;
    width: 22px !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a .sat-front-nav-icon svg,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active .sat-front-nav-icon svg,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:hover .sat-front-nav-icon svg,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:focus-visible .sat-front-nav-icon svg {
    color: #374151 !important;
    display: block !important;
    fill: none !important;
    height: 22px !important;
    opacity: 1 !important;
    stroke: currentColor !important;
    visibility: visible !important;
    width: 22px !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active {
    background: #dbeafe;
    border-color: #93c5fd;
    color: #374151;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a span:not(.sat-front-nav-icon),
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar-section p {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* Ciclo 17 visual hardening: consolidacao final do shell para vencer regras legadas. */
.sat-frontend,
.sat-standalone-body {
    min-width: 0;
    width: 100%;
}

.sat-frontend {
    overflow-x: hidden;
}

.sat-frontend .sat-front-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
    width: 100%;
}

.sat-frontend.is-sidebar-collapsed .sat-front-shell {
    grid-template-columns: 72px minmax(0, 1fr);
}

.sat-frontend .sat-front-sidebar {
    min-height: 100vh;
    width: 100%;
}

.sat-frontend .sat-front-workspace {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
}

.sat-frontend .sat-front-main,
.sat-frontend .sat-front-panel,
.sat-frontend .sat-front-welcome,
.sat-frontend .sat-front-grid,
.sat-frontend .sat-front-dashboard-columns,
.sat-frontend .sat-front-module-grid,
.sat-frontend .sat-front-guide-grid,
.sat-frontend .sat-front-planning-summary,
.sat-frontend .sat-front-admin-grid--large,
.sat-frontend .sat-front-table-wrap,
.sat-frontend .sat-front-form-grid,
.sat-frontend .sat-front-filter-grid {
    max-width: none;
    min-width: 0;
    width: 100%;
}

.sat-frontend .sat-front-panel-heading {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    width: 100%;
}

.sat-frontend .sat-front-header {
    align-items: center !important;
    box-sizing: border-box;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    padding: 18px 20px !important;
    width: 100% !important;
}

.sat-frontend .sat-front-brand-lockup,
.sat-frontend .sat-header__logo {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    max-width: 120px !important;
    min-width: 0;
    width: auto !important;
}

.sat-frontend .sat-front-app-logo,
.sat-frontend .sat-header__logo img {
    height: auto;
    max-height: 120px !important;
    max-width: 120px !important;
    width: auto;
}

.sat-frontend .sat-front-title-block,
.sat-frontend .sat-front-search,
.sat-frontend .sat-front-user {
    flex: 1 1 0;
    min-width: 0;
}

.sat-frontend .sat-front-search {
    flex: 1 1 280px;
    min-width: 240px;
    width: auto;
}

.sat-frontend .sat-front-search input {
    min-width: 0;
    width: 100%;
}

.sat-frontend .sat-front-user {
    align-self: center;
    flex: 0 1 220px;
    justify-self: end;
    max-width: 220px;
}

.sat-frontend .sat-front-user strong,
.sat-frontend .sat-front-user small,
.sat-frontend .sat-front-user a {
    overflow-wrap: anywhere;
}

.sat-frontend .sat-front-table-wrap {
    overflow-x: auto;
}

.sat-frontend .sat-front-table,
.sat-frontend .sat-front-planning-table {
    min-width: 760px;
    width: 100%;
}

.sat-frontend .sat-front-notification-menu {
    flex: 0 0 auto;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:hover .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:focus-visible .sat-front-nav-icon {
    color: #374151 !important;
    display: inline-flex !important;
    height: 22px !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 22px !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a .sat-front-nav-icon svg,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active .sat-front-nav-icon svg,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:hover .sat-front-nav-icon svg,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:focus-visible .sat-front-nav-icon svg {
    color: inherit !important;
    display: block !important;
    fill: none !important;
    height: 22px !important;
    stroke: currentColor !important;
    width: 22px !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active .sat-front-nav-icon {
    color: #374151 !important;
}

@media (max-width: 1080px) {
    .sat-frontend .sat-front-header {
        padding: 16px !important;
    }

    .sat-frontend .sat-front-notification-menu,
    .sat-frontend .sat-front-user {
        flex: 1 1 100%;
    }

    .sat-frontend .sat-front-brand-lockup,
    .sat-frontend .sat-header__logo,
    .sat-frontend .sat-front-app-logo,
    .sat-frontend .sat-header__logo img {
        max-width: 120px !important;
    }
}

@media (max-width: 760px) {
    .sat-frontend .sat-front-shell,
    .sat-frontend.is-sidebar-collapsed .sat-front-shell {
        display: block;
    }

    .sat-frontend .sat-front-header {
        align-items: stretch !important;
        gap: 10px !important;
        padding: 14px !important;
    }

    .sat-frontend .sat-front-title-block,
    .sat-frontend .sat-front-search,
    .sat-frontend .sat-front-notification-menu,
    .sat-frontend .sat-front-user {
        flex: 1 1 100%;
        justify-self: stretch;
        max-width: none;
        width: 100%;
    }

    .sat-frontend .sat-front-brand-lockup,
    .sat-frontend .sat-header__logo,
    .sat-frontend .sat-front-app-logo,
    .sat-frontend .sat-header__logo img {
        max-width: 120px !important;
        width: auto;
    }

    .sat-frontend .sat-front-search {
        grid-template-columns: 1fr;
    }

    .sat-frontend .sat-front-user {
        justify-self: start;
    }

.sat-frontend .sat-front-panel-heading {
        display: grid;
    }
}

.sat-frontend .sat-front-module-grid--compact {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.sat-frontend .sat-front-task-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.sat-frontend .sat-front-task-list li {
    background: #f8fafc;
    border: 1px solid #dbe7f3;
    border-radius: 10px;
    padding: 10px 12px;
}

.sat-frontend .sat-front-next-action {
    font-size: 1.125rem;
    font-weight: 600;
}

/* Ciclo 19: override final para o shell standalone, colocado no fim da cascata. */
.sat-frontend {
    min-height: 100vh;
    width: 100% !important;
    overflow-x: hidden;
}

.sat-frontend .sat-front-shell {
    display: flex !important;
    align-items: stretch;
    width: 100%;
    min-width: 0;
}

.sat-frontend .sat-front-sidebar {
    flex: 0 0 280px !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    transition: width 180ms ease, flex-basis 180ms ease, max-width 180ms ease;
}

.sat-frontend.has-collapsed-sidebar .sat-front-sidebar,
.sat-frontend .sat-front-sidebar.is-collapsed,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar {
    flex-basis: 72px !important;
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
}

.sat-frontend .sat-front-workspace {
    flex: 1 1 auto;
    min-width: 0;
}

.sat-frontend .sat-front-header {
    display: grid !important;
    grid-template-columns: 44px minmax(320px, 1.15fr) minmax(260px, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.sat-frontend .sat-front-brand-area {
    display: flex !important;
    align-items: center;
    gap: 18px;
    min-width: 0;
    grid-column: 2;
}

.sat-frontend .sat-front-brand-lockup,
.sat-frontend .sat-header__logo {
    flex: 0 0 auto;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
}

.sat-frontend .sat-front-title-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sat-frontend .sat-front-title-block p {
    margin: 0;
    min-width: 0;
}

.sat-frontend .sat-front-app-logo,
.sat-frontend .sat-header__logo img {
    height: 120px !important;
    max-height: 120px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain !important;
}

.sat-frontend .sat-front-search {
    min-width: 0;
}

.sat-frontend .sat-front-search label,
.sat-frontend .sat-front-eyebrow {
    white-space: nowrap;
}

.sat-frontend .sat-front-menu-toggle,
.sat-frontend .sat-sidebar-toggle {
    position: relative;
    z-index: 5;
}

.sat-frontend .sat-front-nav-icon {
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.sat-frontend .sat-front-nav-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sat-frontend .sat-front-sidebar a,
.sat-frontend .sat-front-subitem {
    display: flex !important;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.sat-frontend .sat-front-sidebar a span,
.sat-frontend .sat-front-subitem span {
    min-width: 0;
}

.sat-frontend.has-collapsed-sidebar .sat-front-sidebar a,
.sat-frontend.has-collapsed-sidebar .sat-front-subitem,
.sat-frontend .sat-front-sidebar.is-collapsed a,
.sat-frontend .sat-front-sidebar.is-collapsed .sat-front-subitem,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar .sat-front-subitem {
    justify-content: center !important;
    gap: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.sat-frontend.has-collapsed-sidebar .sat-front-sidebar a span,
.sat-frontend.has-collapsed-sidebar .sat-front-subitem span,
.sat-frontend .sat-front-sidebar.is-collapsed a span,
.sat-frontend .sat-front-sidebar.is-collapsed .sat-front-subitem span,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a span,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar .sat-front-subitem span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.sat-frontend .sat-front-sidebar a.is-active .sat-front-nav-icon,
.sat-frontend .sat-front-subitem.is-active .sat-front-nav-icon {
    color: #fff;
}

.sat-frontend .sat-front-sidebar a.is-active .sat-front-nav-icon svg,
.sat-frontend .sat-front-subitem.is-active .sat-front-nav-icon svg {
    stroke: currentColor;
}

.sat-frontend .sat-front-workspace,
.sat-frontend .sat-front-panel,
.sat-frontend .sat-front-main {
    min-width: 0;
}

.sat-frontend .sat-front-footer {
    width: 100%;
}

@media (max-width: 1180px) {
    .sat-frontend .sat-front-header {
        grid-template-columns: 44px minmax(0, 120px) minmax(0, 1fr) minmax(220px, 1fr);
    }

    .sat-frontend .sat-front-brand-lockup,
    .sat-frontend .sat-header__logo,
    .sat-frontend .sat-front-app-logo,
    .sat-frontend .sat-header__logo img {
        max-width: 120px;
    }
}

@media (max-width: 760px) {
    .sat-frontend .sat-front-shell,
    .sat-frontend.is-sidebar-collapsed .sat-front-shell {
        display: block;
    }

    .sat-frontend .sat-front-header {
        grid-template-columns: 44px minmax(0, 1fr);
        min-height: auto;
    }

    .sat-frontend .sat-front-title-block,
    .sat-frontend .sat-front-search,
    .sat-frontend .sat-front-notification-menu,
    .sat-frontend .sat-front-user {
        grid-column: 1 / -1;
        justify-self: stretch;
        max-width: none;
        width: 100%;
    }

    .sat-frontend .sat-front-brand-area {
        flex-wrap: wrap;
    }

    .sat-frontend .sat-front-app-logo,
    .sat-frontend .sat-header__logo img {
        height: 120px !important;
        max-height: 120px !important;
        width: auto !important;
        max-width: 100% !important;
    }

    .sat-frontend .sat-front-search {
        grid-template-columns: 1fr;
    }

    .sat-frontend .sat-front-user {
        justify-self: start;
    }

    .sat-frontend .sat-front-panel-heading {
        display: grid;
    }
}

/* Ciclo 19: ajustes finais para o shell standalone, com header e sidebar consistentes em todas as telas. */
.sat-frontend {
    min-height: 100vh;
    width: 100% !important;
    overflow-x: hidden;
}

.sat-frontend .sat-front-shell {
    display: flex !important;
    align-items: stretch;
    width: 100%;
    min-width: 0;
}

.sat-frontend .sat-front-sidebar {
    flex: 0 0 280px !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    transition: width 180ms ease, flex-basis 180ms ease, max-width 180ms ease;
}

.sat-frontend.has-collapsed-sidebar .sat-front-sidebar,
.sat-frontend .sat-front-sidebar.is-collapsed,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar {
    flex-basis: 72px !important;
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
}

.sat-frontend .sat-front-workspace {
    flex: 1 1 auto;
    min-width: 0;
}

.sat-frontend .sat-front-header {
    display: grid !important;
    grid-template-columns: 44px minmax(320px, 1.15fr) minmax(260px, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.sat-frontend .sat-front-brand-area {
    display: flex !important;
    align-items: center;
    gap: 18px;
    min-width: 0;
    grid-column: 2;
}

.sat-frontend .sat-front-brand-lockup,
.sat-frontend .sat-header__logo {
    flex: 0 0 auto;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
}

.sat-frontend .sat-front-title-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sat-frontend .sat-front-title-block p {
    margin: 0;
    min-width: 0;
}

.sat-frontend .sat-front-app-logo,
.sat-frontend .sat-header__logo img {
    height: 120px !important;
    max-height: 120px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain !important;
}

.sat-frontend .sat-front-search {
    min-width: 0;
}

.sat-frontend .sat-front-search label,
.sat-frontend .sat-front-eyebrow {
    white-space: nowrap;
}

.sat-frontend .sat-front-menu-toggle,
.sat-frontend .sat-sidebar-toggle {
    position: relative;
    z-index: 5;
}

.sat-frontend .sat-front-nav-icon {
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.sat-frontend .sat-front-nav-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sat-frontend .sat-front-sidebar a,
.sat-frontend .sat-front-subitem {
    display: flex !important;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.sat-frontend .sat-front-sidebar a span,
.sat-frontend .sat-front-subitem span {
    min-width: 0;
}

.sat-frontend.has-collapsed-sidebar .sat-front-sidebar a,
.sat-frontend.has-collapsed-sidebar .sat-front-subitem,
.sat-frontend .sat-front-sidebar.is-collapsed a,
.sat-frontend .sat-front-sidebar.is-collapsed .sat-front-subitem,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar .sat-front-subitem {
    justify-content: center !important;
    gap: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.sat-frontend.has-collapsed-sidebar .sat-front-sidebar a span,
.sat-frontend.has-collapsed-sidebar .sat-front-subitem span,
.sat-frontend .sat-front-sidebar.is-collapsed a span,
.sat-frontend .sat-front-sidebar.is-collapsed .sat-front-subitem span,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a span,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar .sat-front-subitem span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.sat-frontend .sat-front-sidebar a.is-active .sat-front-nav-icon,
.sat-frontend .sat-front-subitem.is-active .sat-front-nav-icon {
    color: #fff;
}

.sat-frontend .sat-front-sidebar a.is-active .sat-front-nav-icon svg,
.sat-frontend .sat-front-subitem.is-active .sat-front-nav-icon svg {
    stroke: currentColor;
}

.sat-frontend .sat-front-workspace,
.sat-frontend .sat-front-panel,
.sat-frontend .sat-front-main {
    min-width: 0;
}

.sat-frontend .sat-front-footer {
    width: 100%;
}

@media (max-width: 1180px) {
    .sat-frontend .sat-front-header {
        grid-template-columns: 44px minmax(260px, 1fr) minmax(220px, 1fr) auto auto;
    }
}

@media (max-width: 960px) {
    .sat-frontend .sat-front-shell,
    .sat-frontend.has-collapsed-sidebar .sat-front-shell,
    .sat-frontend .sat-front-sidebar,
    .sat-frontend .sat-front-workspace {
        display: block !important;
    }

    .sat-frontend .sat-front-header {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .sat-frontend .sat-front-brand-area,
    .sat-frontend .sat-front-search,
    .sat-frontend .sat-front-notification-menu,
    .sat-frontend .sat-front-user {
        grid-column: 1 / -1;
        width: 100%;
        justify-self: stretch;
    }

    .sat-frontend .sat-front-brand-area {
        flex-wrap: wrap;
    }

    .sat-frontend .sat-front-app-logo,
    .sat-frontend .sat-header__logo img {
        height: 120px !important;
        max-height: 120px !important;
        width: auto !important;
        max-width: 100% !important;
    }
}

@media (max-width: 760px) {
    .sat-frontend .sat-front-sidebar,
    .sat-frontend.has-collapsed-sidebar .sat-front-sidebar,
    .sat-frontend .sat-front-sidebar.is-collapsed,
    .sat-frontend.is-sidebar-collapsed .sat-front-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex-basis: auto !important;
    }

    .sat-frontend .sat-front-brand-area {
        gap: 12px;
    }
}

/* Hardening final do shell: esta regra precisa ficar literalmente no fim do arquivo. */
.sat-frontend,
.sat-standalone-body {
    min-width: 0 !important;
    width: 100% !important;
}

.sat-frontend {
    overflow-x: hidden !important;
}

.sat-frontend .sat-front-shell {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    min-height: 100vh !important;
    width: 100% !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-shell {
    grid-template-columns: 72px minmax(0, 1fr) !important;
}

.sat-frontend .sat-front-sidebar {
    min-height: 100vh !important;
    width: 100% !important;
}

.sat-frontend .sat-front-workspace,
.sat-frontend .sat-front-main,
.sat-frontend .sat-front-panel,
.sat-frontend .sat-front-welcome,
.sat-frontend .sat-front-grid,
.sat-frontend .sat-front-dashboard-columns,
.sat-frontend .sat-front-module-grid,
.sat-frontend .sat-front-guide-grid,
.sat-frontend .sat-front-planning-summary,
.sat-frontend .sat-front-admin-grid--large,
.sat-frontend .sat-front-table-wrap,
.sat-frontend .sat-front-form-grid,
.sat-frontend .sat-front-filter-grid {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

.sat-frontend .sat-front-header {
    align-items: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    padding: 18px 20px !important;
    width: 100% !important;
}

.sat-frontend .sat-front-menu-toggle,
.sat-frontend .sat-sidebar-toggle {
    flex: 0 0 42px !important;
}

.sat-frontend .sat-front-brand-lockup,
.sat-frontend .sat-header__logo {
    align-items: center !important;
    display: flex !important;
    flex: 0 0 auto !important;
    max-width: 120px !important;
    min-width: 0 !important;
    width: auto !important;
}

.sat-frontend .sat-front-app-logo,
.sat-frontend .sat-header__logo img {
    display: block !important;
    height: auto !important;
    max-height: 120px !important;
    max-width: 120px !important;
    object-fit: contain !important;
    width: auto !important;
}

.sat-frontend .sat-front-title-block,
.sat-frontend .sat-front-search,
.sat-frontend .sat-front-user,
.sat-frontend .sat-front-notification-menu {
    min-width: 0 !important;
}

.sat-frontend .sat-front-title-block {
    flex: 0 1 140px !important;
}

.sat-frontend .sat-front-search {
    flex: 1 1 280px !important;
    width: auto !important;
}

.sat-frontend .sat-front-user {
    flex: 0 1 220px !important;
    max-width: 220px !important;
}

.sat-frontend .sat-front-user strong,
.sat-frontend .sat-front-user small,
.sat-frontend .sat-front-user a,
.sat-frontend .sat-front-search label,
.sat-frontend .sat-front-notification-summary {
    overflow-wrap: anywhere !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:hover .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:focus-visible .sat-front-nav-icon {
    color: #374151 !important;
    display: inline-flex !important;
    height: 22px !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 22px !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active .sat-front-nav-icon {
    color: #374151 !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a .sat-front-nav-icon svg,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active .sat-front-nav-icon svg,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:hover .sat-front-nav-icon svg,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:focus-visible .sat-front-nav-icon svg {
    color: inherit !important;
    display: block !important;
    fill: none !important;
    height: 22px !important;
    stroke: currentColor !important;
    width: 22px !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a span:not(.sat-front-nav-icon),
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar-section p {
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active {
    background: #dbeafe !important;
    border-color: #93c5fd !important;
    color: #374151 !important;
}

@media (max-width: 1080px) {
    .sat-frontend .sat-front-header {
        padding: 16px !important;
    }

    .sat-frontend .sat-front-brand-lockup,
    .sat-frontend .sat-header__logo,
    .sat-frontend .sat-front-app-logo,
    .sat-frontend .sat-header__logo img {
        max-width: 120px !important;
        max-height: 120px !important;
    }
}

@media (max-width: 760px) {
    .sat-frontend .sat-front-shell,
    .sat-frontend.is-sidebar-collapsed .sat-front-shell {
        display: block !important;
    }

    .sat-frontend .sat-front-sidebar {
        max-width: 320px !important;
        position: fixed !important;
        top: 0 !important;
        transform: translateX(-105%) !important;
        width: 82vw !important;
        z-index: 30 !important;
    }

    .sat-frontend.is-drawer-open .sat-front-sidebar {
        transform: translateX(0) !important;
    }

    .sat-frontend .sat-front-header {
        gap: 10px !important;
        padding: 14px !important;
    }

    .sat-frontend .sat-front-title-block,
    .sat-frontend .sat-front-search,
    .sat-frontend .sat-front-notification-menu,
    .sat-frontend .sat-front-user {
        flex: 1 1 100% !important;
        max-width: none !important;
        width: 100% !important;
    }
}

/* Hardening final do shell: esta regra fica por último para vencer qualquer bloco legada da cascata. */
.sat-frontend,
.sat-standalone-body {
    min-width: 0 !important;
    width: 100% !important;
}

.sat-frontend {
    overflow-x: hidden !important;
}

.sat-frontend .sat-front-shell {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    min-height: 100vh !important;
    width: 100% !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-shell {
    grid-template-columns: 72px minmax(0, 1fr) !important;
}

.sat-frontend .sat-front-sidebar {
    min-height: 100vh !important;
    width: 100% !important;
}

.sat-frontend .sat-front-workspace,
.sat-frontend .sat-front-main,
.sat-frontend .sat-front-panel,
.sat-frontend .sat-front-welcome,
.sat-frontend .sat-front-grid,
.sat-frontend .sat-front-dashboard-columns,
.sat-frontend .sat-front-module-grid,
.sat-frontend .sat-front-guide-grid,
.sat-frontend .sat-front-planning-summary,
.sat-frontend .sat-front-admin-grid--large,
.sat-frontend .sat-front-table-wrap,
.sat-frontend .sat-front-form-grid,
.sat-frontend .sat-front-filter-grid {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

.sat-frontend .sat-front-header {
    align-items: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    padding: 18px 20px !important;
    width: 100% !important;
}

.sat-frontend .sat-front-menu-toggle,
.sat-frontend .sat-sidebar-toggle {
    flex: 0 0 42px !important;
}

.sat-frontend .sat-front-brand-lockup,
.sat-frontend .sat-header__logo {
    align-items: center !important;
    display: flex !important;
    flex: 0 0 auto !important;
    max-width: 120px !important;
    min-width: 0 !important;
    width: auto !important;
}

.sat-frontend .sat-front-app-logo,
.sat-frontend .sat-header__logo img {
    display: block !important;
    height: auto !important;
    max-height: 120px !important;
    max-width: 120px !important;
    object-fit: contain !important;
    width: auto !important;
}

.sat-frontend .sat-front-title-block,
.sat-frontend .sat-front-search,
.sat-frontend .sat-front-user,
.sat-frontend .sat-front-notification-menu {
    min-width: 0 !important;
}

.sat-frontend .sat-front-title-block {
    flex: 0 1 140px !important;
}

.sat-frontend .sat-front-search {
    flex: 1 1 280px !important;
    width: auto !important;
}

.sat-frontend .sat-front-user {
    flex: 0 1 220px !important;
    max-width: 220px !important;
}

.sat-frontend .sat-front-user strong,
.sat-frontend .sat-front-user small,
.sat-frontend .sat-front-user a,
.sat-frontend .sat-front-search label,
.sat-frontend .sat-front-notification-summary {
    overflow-wrap: anywhere !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:hover .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:focus-visible .sat-front-nav-icon {
    color: #374151 !important;
    display: inline-flex !important;
    height: 22px !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 22px !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active .sat-front-nav-icon {
    color: #374151 !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a .sat-front-nav-icon svg,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active .sat-front-nav-icon svg,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:hover .sat-front-nav-icon svg,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:focus-visible .sat-front-nav-icon svg {
    color: inherit !important;
    display: block !important;
    fill: none !important;
    height: 22px !important;
    stroke: currentColor !important;
    width: 22px !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a span:not(.sat-front-nav-icon),
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar-section p {
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active {
    background: #dbeafe !important;
    border-color: #93c5fd !important;
    color: #374151 !important;
}

@media (max-width: 1080px) {
    .sat-frontend .sat-front-header {
        padding: 16px !important;
    }

    .sat-frontend .sat-front-brand-lockup,
    .sat-frontend .sat-header__logo,
    .sat-frontend .sat-front-app-logo,
    .sat-frontend .sat-header__logo img {
        max-width: 120px !important;
        max-height: 120px !important;
    }
}

@media (max-width: 760px) {
    .sat-frontend .sat-front-shell,
    .sat-frontend.is-sidebar-collapsed .sat-front-shell {
        display: block !important;
    }

    .sat-frontend .sat-front-sidebar {
        max-width: 320px !important;
        position: fixed !important;
        top: 0 !important;
        transform: translateX(-105%) !important;
        width: 82vw !important;
        z-index: 30 !important;
    }

    .sat-frontend.is-drawer-open .sat-front-sidebar {
        transform: translateX(0) !important;
    }

    .sat-frontend .sat-front-header {
        gap: 10px !important;
        padding: 14px !important;
    }

    .sat-frontend .sat-front-title-block,
    .sat-frontend .sat-front-search,
    .sat-frontend .sat-front-notification-menu,
    .sat-frontend .sat-front-user {
        flex: 1 1 100% !important;
        max-width: none !important;
        width: 100% !important;
    }
}

/* Correção final de layout e toggle para vencer a cascata legada em telas principais. */
.sat-frontend,
.sat-standalone-body {
    min-width: 0 !important;
    width: 100% !important;
}

.sat-frontend .sat-front-shell {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    min-height: 100vh !important;
    width: 100% !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-shell {
    grid-template-columns: 72px minmax(0, 1fr) !important;
}

.sat-frontend .sat-front-sidebar {
    min-height: 100vh !important;
    width: 100% !important;
}

.sat-frontend .sat-front-workspace,
.sat-frontend .sat-front-main,
.sat-frontend .sat-front-panel,
.sat-frontend .sat-front-welcome,
.sat-frontend .sat-front-grid,
.sat-frontend .sat-front-dashboard-columns,
.sat-frontend .sat-front-module-grid,
.sat-frontend .sat-front-guide-grid,
.sat-frontend .sat-front-planning-summary,
.sat-frontend .sat-front-admin-grid--large,
.sat-frontend .sat-front-table-wrap,
.sat-frontend .sat-front-form-grid,
.sat-frontend .sat-front-filter-grid {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

.sat-frontend .sat-front-menu-toggle,
.sat-frontend .sat-sidebar-toggle {
    flex: 0 0 42px !important;
}

.sat-frontend .sat-front-search label,
.sat-frontend .sat-front-notification-summary,
.sat-frontend .sat-front-user strong,
.sat-frontend .sat-front-user small,
.sat-frontend .sat-front-user a {
    overflow-wrap: anywhere;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:hover .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:focus-visible .sat-front-nav-icon {
    color: #374151 !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active {
    background: #dbeafe !important;
    border-color: #93c5fd !important;
    color: #374151 !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a span:not(.sat-front-nav-icon),
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar-section p {
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
}

@media (max-width: 1080px) {
    .sat-frontend .sat-front-shell,
    .sat-frontend.is-sidebar-collapsed .sat-front-shell {
        grid-template-columns: 220px minmax(0, 1fr) !important;
    }
}

@media (max-width: 760px) {
    .sat-frontend .sat-front-shell,
    .sat-frontend.is-sidebar-collapsed .sat-front-shell {
        display: block !important;
    }

    .sat-frontend .sat-front-sidebar {
        max-width: 320px !important;
        position: fixed !important;
        transform: translateX(-105%) !important;
        width: 82vw !important;
    }

    .sat-frontend.is-drawer-open .sat-front-sidebar {
        transform: translateX(0) !important;
    }
}

/* Ciclo 16: busca global e pesquisa avancada. */
.sat-frontend .sat-front-search {
    align-items: end;
    display: grid;
    gap: 6px;
    grid-template-columns: minmax(180px, 1fr) auto;
    min-width: 280px;
}

.sat-frontend .sat-front-search label {
    grid-column: 1 / -1;
}

.sat-frontend .sat-front-search input {
    background: #ffffff;
    width: 100%;
}

.sat-frontend .sat-front-search-submit {
    background: var(--sat-front-primary);
    border: 1px solid var(--sat-front-primary);
    border-radius: 3px;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    min-height: 34px;
    padding: 7px 10px;
}

.sat-frontend .sat-front-search-submit:hover,
.sat-frontend .sat-front-search-submit:focus-visible {
    background: var(--sat-front-primary-dark);
    border-color: var(--sat-front-primary-dark);
}

.sat-frontend .sat-front-search-advanced {
    color: var(--sat-front-primary);
    font-size: 0.82rem;
    font-weight: 700;
    grid-column: 1 / -1;
    justify-self: start;
}

.sat-frontend .sat-front-search-form {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
}

.sat-frontend .sat-front-search-form label {
    color: var(--sat-front-text);
    display: grid;
    font-weight: 700;
    gap: 5px;
}

.sat-frontend .sat-front-search-form input,
.sat-frontend .sat-front-search-form select {
    background: #ffffff;
    border: 1px solid var(--sat-front-border);
    border-radius: 3px;
    color: var(--sat-front-text);
    font: inherit;
    min-height: 36px;
    padding: 7px 10px;
}

.sat-frontend .sat-front-filter-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sat-frontend section.sat-front-active-filters {
    align-items: flex-start;
    display: grid;
    gap: 8px;
}

.sat-frontend section.sat-front-active-filters ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sat-frontend section.sat-front-active-filters li {
    background: #f8fbff;
    border: 1px solid #dbe6f4;
    border-radius: 999px;
    display: inline-flex;
    gap: 5px;
    margin: 0;
    padding: 7px 11px;
}

.sat-frontend .sat-front-search-results {
    display: grid;
    gap: 16px;
}

.sat-frontend .sat-front-search-groups {
    display: grid;
    gap: 14px;
}

.sat-frontend .sat-front-search-group {
    background: #ffffff;
    border: 1px solid #dbe6f4;
    border-radius: 8px;
    display: grid;
    gap: 10px;
    padding: 14px;
}

.sat-frontend .sat-front-search-group-heading {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.sat-frontend .sat-front-search-group-heading h3 {
    color: #0f172a;
    margin: 0;
}

.sat-frontend .sat-front-search-group-heading span {
    color: var(--sat-front-muted);
    font-weight: 700;
}

.sat-frontend .sat-front-search-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sat-frontend .sat-front-search-item {
    background: #f8fbff;
    border: 1px solid #e2ebf6;
    border-left: 4px solid var(--sat-front-primary);
    border-radius: 6px;
    color: var(--sat-front-text);
    display: grid;
    gap: 6px;
    padding: 12px;
    text-decoration: none;
}

.sat-frontend .sat-front-search-item:hover,
.sat-frontend .sat-front-search-item:focus-visible {
    background: #eef6ff;
    border-color: #bdd8f8;
}

.sat-frontend .sat-front-search-item-title {
    color: #0f172a;
    font-weight: 800;
}

.sat-frontend .sat-front-search-item mark {
    background: #fff7cc;
    border-radius: 2px;
    color: #0f172a;
    padding: 0 2px;
}

.sat-frontend .sat-front-search-meta {
    align-items: center;
    color: var(--sat-front-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.82rem;
    gap: 8px;
}

.sat-frontend .sat-front-pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.sat-frontend .sat-front-pagination span {
    color: var(--sat-front-muted);
    font-weight: 700;
}

@media (max-width: 1180px) {
    .sat-frontend .sat-front-search-form {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }
}

@media (max-width: 760px) {
    .sat-frontend .sat-front-search {
        grid-template-columns: 1fr;
        min-width: 100%;
    }

    .sat-frontend .sat-front-search-submit {
        width: 100%;
    }

    .sat-frontend .sat-front-search-form {
        grid-template-columns: 1fr;
    }

    .sat-frontend .sat-front-search-group-heading {
        align-items: flex-start;
        display: grid;
    }
}

.sat-frontend .sat-front-management-cards,
.sat-frontend .sat-front-management-charts,
.sat-frontend .sat-front-management-indicators {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 16px;
}

.sat-frontend .sat-front-management-cards .sat-front-card strong {
    color: #0f172a;
    font-size: 2rem;
}

.sat-frontend .sat-front-active-filters {
    color: var(--sat-front-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.sat-frontend .sat-front-active-filters li,
.sat-frontend p.sat-front-active-filters {
    background: #f8fbff;
    border: 1px solid #dbe6f4;
    border-radius: 999px;
    margin: 0;
    padding: 7px 11px;
}

.sat-frontend .sat-front-chart,
.sat-frontend .sat-front-indicator-card {
    background: #ffffff;
    border: 1px solid #dbe6f4;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    display: grid;
    gap: 12px;
    padding: 16px;
}

.sat-frontend .sat-front-chart h3,
.sat-frontend .sat-front-indicator-card span {
    color: #0f172a;
    margin: 0;
}

.sat-frontend .sat-front-chart-list {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sat-frontend .sat-front-chart-list li {
    display: grid;
    gap: 6px;
}

.sat-frontend .sat-front-chart-list li > span,
.sat-frontend .sat-front-chart-list small {
    color: var(--sat-front-muted);
}

.sat-frontend .sat-front-chart-list strong {
    color: #0f172a;
}

.sat-frontend .sat-front-chart-bar {
    background: #e5ebf2;
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}

.sat-frontend .sat-front-chart-bar span {
    background: #1d4ed8;
    border-radius: inherit;
    display: block;
    height: 100%;
}

.sat-frontend .sat-front-indicator-card strong {
    color: #006b3f;
    font-size: 1.8rem;
}

.sat-frontend .sat-front-indicator-card p {
    color: var(--sat-front-muted);
    margin: 0;
}

@media (max-width: 1180px) {
    .sat-frontend .sat-front-management-cards,
    .sat-frontend .sat-front-management-charts,
    .sat-frontend .sat-front-management-indicators {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .sat-frontend .sat-front-management-cards,
    .sat-frontend .sat-front-management-charts,
    .sat-frontend .sat-front-management-indicators {
        grid-template-columns: 1fr;
    }
}

/* Ciclo 14: notificacoes, prazos e central de pendencias. */
.sat-frontend .sat-front-notification-menu {
    position: relative;
}

.sat-frontend .sat-front-notification-summary {
    align-items: center;
    background: #ffffff;
    border: 1px solid #cfe0f5;
    border-radius: 8px;
    color: #174b87;
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    gap: 8px;
    min-height: 38px;
    padding: 7px 10px;
}

.sat-frontend .sat-front-notification-summary::-webkit-details-marker {
    display: none;
}

.sat-frontend .sat-front-notification-icon {
    align-items: center;
    display: inline-flex;
    height: 18px;
    justify-content: center;
    width: 18px;
}

.sat-frontend .sat-front-notification-icon svg {
    fill: none;
    height: 18px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 18px;
}

.sat-frontend .sat-front-notification-count {
    background: #dbeafe;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #174b87;
    font-size: 0.78rem;
    font-weight: 800;
    min-width: 24px;
    padding: 2px 7px;
    text-align: center;
}

.sat-frontend .sat-front-notification-panel {
    background: #ffffff;
    border: 1px solid var(--sat-front-border);
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
    display: grid;
    gap: 10px;
    min-width: min(360px, calc(100vw - 48px));
    padding: 12px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 40;
}

.sat-frontend .sat-front-notification-list,
.sat-frontend .sat-front-pending-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sat-frontend .sat-front-notification-item,
.sat-frontend .sat-front-pending-item {
    background: #f8fbff;
    border: 1px solid #dbe6f4;
    border-left: 4px solid var(--sat-front-primary);
    border-radius: 6px;
    display: grid;
    gap: 6px;
    padding: 10px;
}

.sat-frontend .sat-front-pending-item.is-critical {
    border-left-color: #b91c1c;
}

.sat-frontend .sat-front-pending-item.is-high {
    border-left-color: #c2410c;
}

.sat-frontend .sat-front-notification-item strong,
.sat-frontend .sat-front-pending-item strong {
    color: #0f172a;
}

.sat-frontend .sat-front-notification-item p,
.sat-frontend .sat-front-pending-item p {
    color: var(--sat-front-muted);
    margin: 0;
}

.sat-frontend .sat-front-notification-meta,
.sat-frontend .sat-front-pending-meta {
    align-items: center;
    color: #526579;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.8rem;
    gap: 8px;
}

.sat-frontend .sat-front-inline-form {
    display: inline-flex;
    margin: 0;
}

.sat-frontend .sat-front-inline-form .sat-front-button {
    min-height: 28px;
    padding: 5px 9px;
}

.sat-frontend .sat-front-filters {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0;
}

.sat-frontend .sat-front-filters label {
    color: var(--sat-front-text);
    display: grid;
    font-weight: 700;
    gap: 5px;
    min-width: 160px;
}

.sat-frontend .sat-front-filters select,
.sat-frontend .sat-front-filters input {
    background: #ffffff;
    border: 1px solid var(--sat-front-border);
    border-radius: 3px;
    color: var(--sat-front-text);
    font: inherit;
    min-height: 34px;
    padding: 7px 10px;
}

.sat-frontend .sat-front-preference-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sat-frontend .sat-front-preference-grid label {
    align-items: start;
    background: #f8fbff;
    border: 1px solid #dbe6f4;
    border-radius: 6px;
    display: flex;
    gap: 8px;
    padding: 10px;
}

@media (max-width: 760px) {
    .sat-frontend .sat-front-notification-panel {
        left: 0;
        right: auto;
    }

    .sat-frontend .sat-front-preference-grid {
        grid-template-columns: 1fr;
    }
}

/* Patch 0.12.1: ações de auditoria operadas diretamente na interface standalone. */
.sat-frontend .sat-front-link-button {
    background: transparent;
    border: 0;
    color: var(--sat-front-primary);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 0;
    text-decoration: underline;
}

.sat-frontend .sat-front-link-button:hover,
.sat-frontend .sat-front-link-button:focus-visible {
    color: var(--sat-front-primary-dark);
}

/* Ciclo 11: relatorio estruturado, contraditorio e exportacao imprimivel. */
.sat-frontend .sat-front-report-editor {
    border-top: 1px solid var(--sat-front-border);
    display: grid;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
}

.sat-frontend .sat-front-card-grid--compact {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 16px 0;
}

.sat-frontend .sat-front-card-grid--compact .sat-front-card {
    display: grid;
    gap: 10px;
}

.sat-frontend .sat-front-card-grid--compact .sat-front-card strong {
    color: var(--sat-front-primary);
    font-size: 1rem;
}

.sat-frontend .sat-front-nested-panel {
    background: #f8fbff;
}

.sat-frontend-print,
.sat-print-shell {
    background: #f6f8fb;
    min-height: 100vh;
    width: 100%;
}

.sat-print-shell {
    color: #17212b;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding: 24px;
}

.sat-print-toolbar {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin: 0 auto 16px;
    max-width: 980px;
}

.sat-print-paper {
    background: #ffffff;
    border: 1px solid #d9e0e8;
    border-radius: 8px;
    margin: 0 auto;
    max-width: 980px;
    padding: 42px;
}

.sat-print-header {
    border-bottom: 2px solid #003366;
    margin-bottom: 24px;
    padding-bottom: 18px;
}

.sat-print-header h1 {
    color: #003366;
    margin: 0;
}

.sat-print-meta {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 18px 0 0;
}

.sat-print-meta div {
    background: #f4f6f8;
    border-left: 4px solid #b68a35;
    padding: 10px;
}

.sat-print-meta dt {
    color: #5c6670;
    font-weight: 700;
}

.sat-print-meta dd {
    margin: 0;
}

.sat-print-content h1,
.sat-print-content h2 {
    color: #003366;
}

.sat-print-content section {
    break-inside: avoid;
    margin-bottom: 20px;
}

.sat-print-summary {
    color: #5c6670;
    font-size: 1.05rem;
}

@media (max-width: 760px) {
    .sat-frontend .sat-front-card-grid--compact,
    .sat-print-meta {
        grid-template-columns: 1fr;
    }

    .sat-print-shell {
        padding: 12px;
    }

    .sat-print-paper {
        padding: 24px;
    }
}

@media print {
    .sat-print-toolbar {
        display: none;
    }

    .sat-frontend-print,
    .sat-print-shell {
        background: #ffffff;
    }

    .sat-print-paper {
        border: 0;
        border-radius: 0;
        max-width: none;
        padding: 0;
    }
}

/* Patch 0.6.1: sidebar recolhida sem marca e com icones sempre visiveis. */
.sat-frontend .sat-front-sidebar {
    display: flex;
    flex-direction: column;
    width: 260px;
}

.sat-frontend .sat-front-sidebar-brand,
.sat-frontend .sat-front-sidebar-brand::before,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar-brand,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar-brand::before {
    content: none;
    display: none;
}

.sat-frontend.is-sidebar-collapsed .sat-front-shell {
    grid-template-columns: 72px minmax(0, 1fr);
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar {
    align-items: center;
    padding: 14px 8px;
    width: 72px;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar-nav,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar-section {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar-section {
    border-top: 1px solid var(--sat-front-border);
    margin-top: 12px;
    padding-top: 12px;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar-section p,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a span:not(.sat-front-nav-icon) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #244d7a;
    display: inline-flex;
    gap: 0;
    height: 44px;
    justify-content: center;
    margin: 0;
    min-height: 44px;
    padding: 0;
    width: 48px;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:hover,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:focus-visible {
    background: #e8f1ff;
    border-color: #cfe0f5;
    color: #123f75;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active {
    background: var(--sat-front-primary);
    border-color: var(--sat-front-primary);
    box-shadow: 0 8px 18px rgba(36, 116, 234, 0.24), inset 4px 0 0 var(--sat-front-accent);
    color: #ffffff;
}

.sat-frontend .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-nav-icon {
    align-items: center;
    color: currentColor;
    display: inline-flex;
    flex: 0 0 22px;
    height: 22px;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    width: 22px;
}

.sat-frontend .sat-front-nav-icon svg,
.sat-frontend.is-sidebar-collapsed .sat-front-nav-icon svg {
    display: block;
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
    width: 22px;
}

.sat-frontend .sat-front-nav-mark {
    display: none;
}

.sat-frontend .sat-front-header {
    align-items: center;
    grid-template-columns: 44px 132px minmax(150px, 1fr) minmax(180px, 240px) auto;
    min-height: 72px;
    padding: 10px 14px;
}

.sat-frontend .sat-front-brand-lockup,
.sat-frontend .sat-header__logo {
    max-width: 120px;
    width: 120px;
}

.sat-frontend .sat-front-app-logo,
.sat-frontend .sat-header__logo img {
    height: auto;
    max-height: 56px;
    max-width: 120px;
    object-fit: contain;
    width: auto;
}

@media (max-width: 1080px) {
    .sat-frontend .sat-front-header {
        grid-template-columns: 44px 120px minmax(140px, 1fr);
    }

    .sat-frontend .sat-front-brand-lockup,
    .sat-frontend .sat-header__logo,
    .sat-frontend .sat-front-app-logo,
    .sat-frontend .sat-header__logo img {
        max-width: 120px;
    }
}

@media (max-width: 760px) {
    .sat-frontend .sat-front-header {
        grid-template-columns: 44px minmax(0, 1fr);
        min-height: 64px;
    }

    .sat-frontend .sat-front-brand-lockup,
    .sat-frontend .sat-header__logo,
    .sat-frontend .sat-front-app-logo,
    .sat-frontend .sat-header__logo img {
        max-width: 100px;
        width: auto;
    }

    .sat-frontend.is-sidebar-collapsed .sat-front-sidebar {
        align-items: stretch;
        width: 82vw;
    }

    .sat-frontend.is-sidebar-collapsed .sat-front-sidebar-nav,
    .sat-frontend.is-sidebar-collapsed .sat-front-sidebar-section {
        align-items: stretch;
    }

    .sat-frontend.is-sidebar-collapsed .sat-front-sidebar a {
        gap: 11px;
        height: auto;
        justify-content: flex-start;
        min-height: 34px;
        padding: 7px 10px;
        width: auto;
    }

    .sat-frontend.is-sidebar-collapsed .sat-front-sidebar-section p,
    .sat-frontend.is-sidebar-collapsed .sat-front-sidebar a span:not(.sat-front-nav-icon) {
        clip: auto;
        clip-path: none;
        height: auto;
        overflow: visible;
        position: static;
        white-space: normal;
        width: auto;
    }
}

/* Ciclo 6 operacional: formularios, filtros e consolidacao visual do shell standalone. */
.sat-frontend .sat-front-filter-grid,
.sat-frontend .sat-front-form-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
}

.sat-frontend .sat-front-form-grid textarea {
    min-height: 86px;
    resize: vertical;
}

.sat-frontend .sat-front-form-grid label,
.sat-frontend .sat-front-filter-grid label {
    display: grid;
    gap: 5px;
}

.sat-frontend .sat-front-form input,
.sat-frontend .sat-front-form select,
.sat-frontend .sat-front-form textarea,
.sat-frontend .sat-front-filter-grid input,
.sat-frontend .sat-front-filter-grid select {
    background: #ffffff;
    border: 1px solid var(--sat-front-border);
    border-radius: 3px;
    color: var(--sat-front-text);
    font: inherit;
    min-height: 36px;
    padding: 8px 10px;
    width: 100%;
}

.sat-frontend .sat-front-progress {
    align-items: center;
    display: grid;
    gap: 5px;
    min-width: 130px;
}

.sat-frontend .sat-front-progress progress {
    accent-color: var(--sat-front-accent);
    height: 10px;
    width: 100%;
}

.sat-frontend .sat-front-pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 14px;
}

.sat-frontend .sat-front-pagination span {
    color: var(--sat-front-muted);
    font-weight: 700;
}

.sat-frontend .sat-front-stat-number {
    color: #111827;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    margin: 8px 0;
}

.sat-frontend .sat-front-nav-mark {
    display: none;
}

.sat-frontend .sat-front-nav-icon {
    color: #4f647a;
    display: inline-flex;
    opacity: 1;
    visibility: visible;
}

.sat-frontend .sat-front-nav-icon svg {
    display: block;
    height: 20px;
    width: 20px;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a span:not(.sat-front-nav-icon),
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar-section p {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar .sat-front-subitem {
    display: flex;
}

.sat-frontend .sat-front-app-logo,
.sat-frontend .sat-header__logo img {
    max-height: 150px;
    object-fit: contain;
    width: auto;
}

@media (max-width: 1080px) {
    .sat-frontend .sat-front-filter-grid,
    .sat-frontend .sat-front-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sat-frontend .sat-front-app-logo,
    .sat-frontend .sat-header__logo img {
        max-height: 96px;
    }
}

@media (max-width: 760px) {
    .sat-frontend .sat-front-filter-grid,
    .sat-frontend .sat-front-form-grid {
        grid-template-columns: 1fr;
    }

    .sat-frontend .sat-front-app-logo,
    .sat-frontend .sat-header__logo img {
        max-height: 72px;
    }
}

@media (max-width: 640px) {
    .sat-front-dashboard-columns,
    .sat-front-admin-grid {
        grid-template-columns: 1fr;
    }
}

/* Ciclo 4 visual baseline: painel institucional inspirado em dashboards operacionais. */
.sat-frontend {
    --sat-front-primary: #2474ea;
    --sat-front-primary-dark: #1454b8;
    --sat-front-accent: #00a885;
    --sat-front-bg: #edf3fb;
    --sat-front-surface: #ffffff;
    --sat-front-border: #dbe5f2;
    --sat-front-text: #1f2937;
    --sat-front-muted: #64748b;
    --sat-front-focus: #0f62fe;
    background: var(--sat-front-bg);
    font-size: 14px;
}

.sat-standalone-body {
    background: var(--sat-front-bg);
}

.sat-front-shell {
    grid-template-columns: 210px minmax(0, 1fr);
}

.sat-front-workspace {
    padding: 14px 18px 18px;
}

.sat-front-sidebar {
    background: #ffffff;
    border-right: 1px solid #d8e3f2;
    box-shadow: 2px 0 10px rgba(15, 23, 42, 0.04);
    padding: 14px 10px;
}

.sat-front-sidebar-brand {
    border-bottom: 0;
    margin-bottom: 12px;
    padding: 8px 10px 14px;
}

.sat-front-sidebar-brand strong {
    color: #26a269;
    font-size: 1.15rem;
    font-weight: 700;
}

.sat-front-sidebar-brand span {
    color: #8aa0b8;
    font-size: 0.78rem;
}

.sat-front-sidebar-nav,
.sat-front-sidebar-section {
    gap: 4px;
}

.sat-front-sidebar-section {
    border-top: 1px solid #edf2f7;
    margin-top: 12px;
    padding-top: 12px;
}

.sat-front-sidebar-section p {
    color: #94a3b8;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0 10px;
    text-transform: uppercase;
}

.sat-front-sidebar a {
    border-radius: 3px;
    color: #526579;
    font-size: 0.9rem;
    min-height: 32px;
    padding: 7px 10px;
}

.sat-front-sidebar a:hover,
.sat-front-sidebar a:focus-visible {
    background: #edf5ff;
    color: var(--sat-front-primary-dark);
}

.sat-front-sidebar a.is-active {
    background: var(--sat-front-primary);
    border-left: 0;
    color: #ffffff;
    font-weight: 700;
}

.sat-front-subitem {
    margin-left: 10px;
    min-height: 28px;
}

.sat-front-header {
    background: #ffffff;
    border: 1px solid #dbe5f2;
    border-radius: 0;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
    min-height: 58px;
    padding: 10px 14px;
}

.sat-front-menu-toggle {
    border-color: #d9e4f2;
    min-height: 34px;
    padding: 6px 10px;
}

.sat-front-title-block h1 {
    color: #26a269;
    font-size: 1.05rem;
}

.sat-front-title-block p:last-child,
.sat-front-eyebrow {
    font-size: 0.78rem;
}

.sat-front-eyebrow {
    color: #64748b;
}

.sat-front-search input {
    background: #f8fafc;
    min-height: 34px;
}

.sat-front-user {
    border-left-color: #dbe5f2;
    font-size: 0.82rem;
}

.sat-front-main {
    padding: 0;
}

.sat-front-welcome {
    align-items: center;
    border-color: #dbe5f2;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
    margin-top: 14px;
    min-height: 74px;
    padding: 14px 16px;
}

.sat-front-welcome h2 {
    color: #1f2937;
    font-size: 1.05rem;
}

.sat-front-welcome p {
    color: #64748b;
}

.sat-front-grid {
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    margin: 12px 0;
}

.sat-front-card,
.sat-front-panel,
.sat-front-auth-panel {
    border-color: #dbe5f2;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.sat-front-card {
    min-height: 86px;
    padding: 13px 14px;
    position: relative;
}

.sat-front-card::before {
    background: var(--sat-front-primary);
    border-radius: 3px;
    content: "";
    height: 28px;
    left: 14px;
    position: absolute;
    top: 15px;
    width: 34px;
}

.sat-front-card h2 {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    margin-left: 46px;
    min-height: 28px;
}

.sat-front-card strong {
    color: #111827;
    font-size: 1.35rem;
    line-height: 1.1;
    margin-left: 46px;
}

.sat-front-card p {
    color: #64748b;
    font-size: 0.78rem;
    margin: 8px 0 0;
}

.sat-front-panel {
    margin-top: 12px;
    padding: 14px;
}

.sat-front-panel h2 {
    color: #1f2937;
    font-size: 0.96rem;
}

.sat-front-dashboard-columns {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.sat-front-button {
    border-radius: 3px;
    font-size: 0.86rem;
    min-height: 32px;
    padding: 7px 11px;
}

.sat-front-button--primary {
    background: var(--sat-front-primary);
    border-color: var(--sat-front-primary);
}

.sat-front-table {
    font-size: 0.86rem;
}

.sat-front-table th {
    background: #f8fafc;
}

.sat-front-table th,
.sat-front-table td {
    padding: 9px 10px;
}

.sat-front-badge {
    border-radius: 999px;
    font-size: 0.76rem;
    padding: 2px 8px;
}

.sat-front-badge--info {
    background: #eaf4ff;
    color: #1454b8;
}

.sat-front-badge--neutral {
    background: #eefbf7;
    color: #047857;
}

.sat-front-module-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sat-front-module-grid article {
    background: #f8fafc;
    border: 1px solid #e5edf6;
    border-radius: 3px;
    padding: 12px;
}

.sat-front-footer {
    align-items: center;
    color: #7b8da2;
    display: flex;
    font-size: 0.78rem;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 14px;
}

.sat-front-footer-logo {
    background: #ffffff;
    display: block;
    height: auto;
    max-height: 30px;
    max-width: 108px;
    object-fit: contain;
}

.is-sidebar-collapsed .sat-front-shell {
    grid-template-columns: 66px minmax(0, 1fr);
}

.is-sidebar-collapsed .sat-front-sidebar {
    padding-left: 8px;
    padding-right: 8px;
}

@media (max-width: 1080px) {
    .sat-front-grid,
    .sat-front-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .sat-front-workspace {
        padding: 10px;
    }

    .sat-front-header,
    .sat-front-welcome {
        border-radius: 3px;
    }

    .sat-front-brand-lockup {
        flex-basis: 190px;
        min-width: 160px;
    }

    .sat-front-app-logo {
        max-height: 38px;
        max-width: 190px;
    }
}

@media (max-width: 640px) {
    .sat-front-grid,
    .sat-front-module-grid,
    .sat-front-dashboard-columns {
        grid-template-columns: 1fr;
    }

    .sat-front-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Menu iconografico: o modo recolhido deve permanecer navegavel e legivel. */
.sat-front-nav-icon {
    align-items: center;
    color: #6b7f94;
    display: inline-flex;
    flex: 0 0 18px;
    height: 18px;
    justify-content: center;
    width: 18px;
}

.sat-front-nav-icon svg {
    display: block;
    fill: none;
    height: 18px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
    width: 18px;
}

.sat-front-sidebar a:hover .sat-front-nav-icon,
.sat-front-sidebar a:focus-visible .sat-front-nav-icon {
    color: var(--sat-front-primary-dark);
}

.sat-front-sidebar a.is-active .sat-front-nav-icon {
    color: #ffffff;
}

.sat-front-subitem .sat-front-nav-icon {
    height: 16px;
    width: 16px;
}

.sat-front-subitem .sat-front-nav-icon svg {
    height: 16px;
    width: 16px;
}

.is-sidebar-collapsed .sat-front-shell {
    grid-template-columns: 72px minmax(0, 1fr);
}

.is-sidebar-collapsed .sat-front-sidebar {
    padding: 14px 8px;
}

.is-sidebar-collapsed .sat-front-sidebar-brand {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
    padding: 6px 0 14px;
}

.is-sidebar-collapsed .sat-front-sidebar-brand::before {
    align-items: center;
    background: #eef6ff;
    border: 1px solid #d7e7fb;
    border-radius: 8px;
    color: #26a269;
    content: none;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    height: 38px;
    justify-content: center;
    letter-spacing: 0;
    width: 42px;
}

.is-sidebar-collapsed .sat-front-sidebar-brand strong,
.is-sidebar-collapsed .sat-front-sidebar-brand span,
.is-sidebar-collapsed .sat-front-sidebar a span:not(.sat-front-nav-icon),
.is-sidebar-collapsed .sat-front-sidebar-section p {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.is-sidebar-collapsed .sat-front-sidebar-nav,
.is-sidebar-collapsed .sat-front-sidebar-section {
    align-items: center;
    gap: 8px;
}

.is-sidebar-collapsed .sat-front-sidebar-section {
    margin-top: 14px;
    padding-top: 14px;
}

.is-sidebar-collapsed .sat-front-sidebar a {
    border-radius: 8px;
    gap: 0;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    min-height: 40px;
    padding: 0;
    width: 42px;
}

.is-sidebar-collapsed .sat-front-sidebar a.is-active {
    box-shadow: 0 8px 18px rgba(36, 116, 234, 0.24);
}

.is-sidebar-collapsed .sat-front-subitem {
    display: flex;
    margin-left: auto;
}

.is-sidebar-collapsed .sat-front-nav-icon,
.is-sidebar-collapsed .sat-front-nav-icon svg {
    height: 20px;
    width: 20px;
}

@media (max-width: 760px) {
    .is-sidebar-collapsed .sat-front-sidebar-brand {
        display: block;
        padding: 8px 10px 14px;
    }

    .is-sidebar-collapsed .sat-front-sidebar-brand::before {
        content: none;
    }

    .is-sidebar-collapsed .sat-front-sidebar-brand strong,
    .is-sidebar-collapsed .sat-front-sidebar-brand span,
    .is-sidebar-collapsed .sat-front-sidebar a span:not(.sat-front-nav-icon),
    .is-sidebar-collapsed .sat-front-sidebar-section p {
        clip: auto;
        clip-path: none;
        height: auto;
        overflow: visible;
        position: static;
        white-space: normal;
        width: auto;
    }

    .is-sidebar-collapsed .sat-front-sidebar a {
        gap: 10px;
        justify-content: flex-start;
        margin-left: 0;
        margin-right: 0;
        min-height: 32px;
        padding: 7px 10px;
        width: auto;
    }

    .is-sidebar-collapsed .sat-front-subitem {
        margin-left: 10px;
    }
}

/* Correcao de contraste do menu recolhido: icones devem ser visiveis em fundo branco. */
.is-sidebar-collapsed .sat-front-sidebar a {
    background: #f5f9ff;
    border: 1px solid #d7e6f8;
    color: #1d4f8f;
}

.is-sidebar-collapsed .sat-front-sidebar a:hover,
.is-sidebar-collapsed .sat-front-sidebar a:focus-visible {
    background: #e8f1ff;
    border-color: #9fc3f5;
    color: #123f75;
}

.is-sidebar-collapsed .sat-front-sidebar a.is-active {
    background: var(--sat-front-primary);
    border-color: var(--sat-front-primary);
    color: #ffffff;
}

.is-sidebar-collapsed .sat-front-sidebar a .sat-front-nav-icon {
    color: #1d4f8f;
}

.is-sidebar-collapsed .sat-front-sidebar a:hover .sat-front-nav-icon,
.is-sidebar-collapsed .sat-front-sidebar a:focus-visible .sat-front-nav-icon {
    color: #123f75;
}

.is-sidebar-collapsed .sat-front-sidebar a.is-active .sat-front-nav-icon {
    color: #ffffff;
}

.is-sidebar-collapsed .sat-front-sidebar .sat-front-subitem {
    display: none;
}

@media (max-width: 760px) {
    .is-sidebar-collapsed .sat-front-sidebar a {
        background: transparent;
        border-color: transparent;
        color: #526579;
    }

    .is-sidebar-collapsed .sat-front-sidebar a .sat-front-nav-icon {
        color: #6b7f94;
    }

    .is-sidebar-collapsed .sat-front-sidebar a.is-active {
        background: var(--sat-front-primary);
        border-color: var(--sat-front-primary);
        color: #ffffff;
    }

    .is-sidebar-collapsed .sat-front-sidebar a.is-active .sat-front-nav-icon {
        color: #ffffff;
    }

    .is-sidebar-collapsed .sat-front-sidebar .sat-front-subitem {
        display: flex;
    }
}

/* Ajuste de marca: logo do cabecalho pequeno e rodape institucional centralizado. */
.sat-front-brand-lockup {
    flex: 0 0 auto;
    max-width: 250px;
    min-width: 0;
    width: 250px;
}

.sat-front-app-logo {
    height: auto;
    max-height: 25px;
    max-width: 250px;
    object-fit: contain;
    width: 100%;
}

.sat-front-footer {
    align-items: center;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    text-align: center;
}

.sat-front-footer-logo {
    height: auto;
    max-height: 50px;
    max-width: min(180px, 100%);
    object-fit: contain;
    width: auto;
}

@media (max-width: 760px) {
    .sat-front-brand-lockup {
        max-width: 210px;
        width: 210px;
    }

    .sat-front-app-logo {
        max-height: 25px;
        max-width: 210px;
    }
}

/* Rollback dos icones SVG do menu: voltar para marcador compacto e estavel. */
.sat-front-nav-mark {
    background: #6b7f94;
    border-radius: 999px;
    display: inline-block;
    flex: 0 0 8px;
    height: 8px;
    width: 8px;
}

.is-sidebar-collapsed .sat-front-sidebar .sat-front-nav-mark {
    clip: auto;
    clip-path: none;
    display: inline-block;
    height: 10px;
    overflow: visible;
    position: static;
    white-space: normal;
    width: 10px;
}

.sat-front-sidebar a.is-active .sat-front-nav-mark {
    background: #ffffff;
}

.is-sidebar-collapsed .sat-front-sidebar a span:not(.sat-front-nav-mark),
.is-sidebar-collapsed .sat-front-sidebar-section p {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.is-sidebar-collapsed .sat-front-sidebar a {
    background: transparent;
    border-color: transparent;
    gap: 0;
}

.is-sidebar-collapsed .sat-front-sidebar a:hover,
.is-sidebar-collapsed .sat-front-sidebar a:focus-visible {
    background: #e8f1ff;
    border-color: #d7e6f8;
}

.is-sidebar-collapsed .sat-front-sidebar a.is-active {
    background: var(--sat-front-primary);
    border-color: var(--sat-front-primary);
}

.is-sidebar-collapsed .sat-front-sidebar .sat-front-subitem {
    display: none;
}

@media (max-width: 760px) {
    .is-sidebar-collapsed .sat-front-sidebar a {
        gap: 10px;
    }

    .is-sidebar-collapsed .sat-front-sidebar a span:not(.sat-front-nav-mark),
    .is-sidebar-collapsed .sat-front-sidebar-section p {
        clip: auto;
        clip-path: none;
        height: auto;
        overflow: visible;
        position: static;
        white-space: normal;
        width: auto;
    }

    .is-sidebar-collapsed .sat-front-sidebar .sat-front-subitem {
        display: flex;
    }
}

/* Ciclo 5: administracao standalone. */
.sat-frontend .screen-reader-text {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.sat-front-message {
    border-left: 4px solid var(--sat-front-accent);
}

.sat-front-admin-grid--large {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sat-front-admin-card {
    background: #ffffff;
    min-height: 132px;
}

.sat-front-admin-card small {
    color: var(--sat-front-muted);
    display: block;
}

.sat-front-admin-card.is-disabled {
    background: #f8fafc;
    color: #6b7280;
}

.sat-front-badge--success {
    background: #e9fbf4;
    border-color: #a7ead2;
    color: #047857;
}

.sat-front-badge--warning {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}

.sat-front-form {
    border-top: 1px solid var(--sat-front-border);
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
}

.sat-front-form label {
    color: var(--sat-front-text);
    font-weight: 700;
}

.sat-front-form input,
.sat-front-form select,
.sat-front-actions-inline select {
    background: #ffffff;
    border: 1px solid var(--sat-front-border);
    border-radius: 3px;
    min-height: 34px;
    padding: 7px 10px;
}

.sat-front-form p {
    color: var(--sat-front-muted);
    margin: 0;
}

.sat-front-table--compact {
    min-width: 980px;
}

.sat-front-actions-inline {
    display: grid;
    gap: 8px;
    min-width: 260px;
}

.sat-front-actions-inline form {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sat-front-button--secondary {
    background: #ffffff;
}

.sat-front-button--danger {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}

.sat-front-code {
    background: #0f172a;
    border-radius: 4px;
    color: #e2e8f0;
    max-height: 360px;
    overflow: auto;
    padding: 14px;
    white-space: pre-wrap;
}

@media (max-width: 1080px) {
    .sat-front-admin-grid--large {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .sat-front-admin-grid--large {
        grid-template-columns: 1fr;
    }
}

/* Ciclo 6: cabecalho maior, botao iconico e icones SVG visiveis no menu. */
.sat-frontend .sat-front-shell {
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
    width: 100%;
}

.sat-frontend.is-sidebar-collapsed .sat-front-shell {
    grid-template-columns: 76px minmax(0, 1fr);
}

.sat-frontend .sat-front-sidebar {
    min-height: 100vh;
}

.sat-frontend .sat-front-header {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: 44px minmax(180px, auto) minmax(120px, 1fr) minmax(180px, 240px) auto;
    min-height: 112px;
    width: 100%;
}

.sat-frontend .sat-front-brand-lockup,
.sat-frontend .sat-header__logo {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    max-width: 420px;
    min-width: 0;
    width: auto;
}

.sat-frontend .sat-front-app-logo,
.sat-frontend .sat-header__logo img {
    display: block;
    height: auto;
    max-height: 150px;
    max-width: 420px;
    object-fit: contain;
    width: auto;
}

.sat-frontend .sat-front-menu-toggle,
.sat-frontend .sat-sidebar-toggle {
    align-items: center;
    aspect-ratio: 1;
    background: #ffffff;
    border: 1px solid #cfe0f5;
    border-radius: 8px;
    color: #1454b8;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    min-height: 42px;
    padding: 0;
    width: 42px;
}

.sat-frontend .sat-icon-sidebar-toggle {
    display: block;
    height: 20px;
    position: relative;
    width: 20px;
}

.sat-frontend .sat-icon-sidebar-toggle::before,
.sat-frontend .sat-icon-sidebar-toggle::after {
    border: solid currentColor;
    content: "";
    position: absolute;
}

.sat-frontend .sat-icon-sidebar-toggle::before {
    border-width: 0 0 0 2px;
    bottom: 2px;
    left: 4px;
    top: 2px;
}

.sat-frontend .sat-icon-sidebar-toggle::after {
    border-width: 2px 2px 0 0;
    height: 8px;
    left: 9px;
    top: 6px;
    transform: rotate(-135deg);
    width: 8px;
}

.sat-frontend.is-sidebar-collapsed .sat-icon-sidebar-toggle::after {
    left: 5px;
    transform: rotate(45deg);
}

.sat-frontend .sat-front-menu-toggle:hover,
.sat-frontend .sat-front-menu-toggle:focus-visible {
    background: #edf5ff;
    border-color: #9fc3f5;
}

.sat-frontend .sat-front-nav-icon {
    align-items: center;
    color: #526579;
    display: inline-flex;
    flex: 0 0 20px;
    height: 20px;
    justify-content: center;
    width: 20px;
}

.sat-frontend .sat-front-nav-icon svg {
    display: block;
    fill: none;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 20px;
}

.sat-frontend .sat-front-subitem .sat-front-nav-icon,
.sat-frontend .sat-front-subitem .sat-front-nav-icon svg {
    height: 17px;
    width: 17px;
}

.sat-frontend .sat-front-sidebar a {
    gap: 11px;
}

.sat-frontend .sat-front-sidebar a:hover .sat-front-nav-icon,
.sat-frontend .sat-front-sidebar a:focus-visible .sat-front-nav-icon {
    color: #1454b8;
}

.sat-frontend .sat-front-sidebar a.is-active {
    box-shadow: inset 4px 0 0 #00a885;
}

.sat-frontend .sat-front-sidebar a.is-active .sat-front-nav-icon {
    color: #ffffff;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar {
    padding-left: 10px;
    padding-right: 10px;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar-brand {
    align-items: center;
    display: flex;
    justify-content: center;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar-brand::before {
    align-items: center;
    background: #eef6ff;
    border: 1px solid #d7e7fb;
    border-radius: 10px;
    color: #26a269;
    content: none;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    width: 46px;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar-brand strong,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar-brand span,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a span:not(.sat-front-nav-icon),
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar-section p {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 10px;
    display: flex;
    gap: 0;
    height: 44px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    min-height: 44px;
    padding: 0;
    width: 48px;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:hover,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:focus-visible {
    background: #e8f1ff;
    border-color: #cfe0f5;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active {
    background: var(--sat-front-primary);
    border-color: var(--sat-front-primary);
    box-shadow: 0 8px 18px rgba(36, 116, 234, 0.24);
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar .sat-front-subitem {
    display: flex;
}

.sat-frontend.is-sidebar-collapsed .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-nav-icon svg {
    height: 22px;
    width: 22px;
}

@media (max-width: 1080px) {
    .sat-frontend .sat-front-header {
        grid-template-columns: 44px minmax(140px, auto) minmax(120px, 1fr);
    }

    .sat-frontend .sat-front-search,
    .sat-frontend .sat-front-user {
        grid-column: span 1;
    }

    .sat-frontend .sat-front-app-logo,
    .sat-frontend .sat-header__logo img {
        max-height: 96px;
        max-width: 300px;
    }
}

@media (max-width: 760px) {
    .sat-frontend .sat-front-shell,
    .sat-frontend.is-sidebar-collapsed .sat-front-shell {
        display: block;
    }

    .sat-frontend .sat-front-header {
        grid-template-columns: 44px minmax(0, 1fr);
        min-height: auto;
    }

    .sat-frontend .sat-front-title-block,
    .sat-frontend .sat-front-search,
    .sat-frontend .sat-front-user {
        grid-column: 1 / -1;
    }

    .sat-frontend .sat-front-app-logo,
    .sat-frontend .sat-header__logo img {
        max-height: 72px;
        max-width: min(260px, 100%);
    }

    .sat-frontend.is-sidebar-collapsed .sat-front-sidebar-brand::before {
        content: none;
    }

    .sat-frontend.is-sidebar-collapsed .sat-front-sidebar-brand strong,
    .sat-frontend.is-sidebar-collapsed .sat-front-sidebar-brand span,
    .sat-frontend.is-sidebar-collapsed .sat-front-sidebar a span:not(.sat-front-nav-icon),
    .sat-frontend.is-sidebar-collapsed .sat-front-sidebar-section p {
        clip: auto;
        clip-path: none;
        height: auto;
        overflow: visible;
        position: static;
        white-space: normal;
        width: auto;
    }

    .sat-frontend.is-sidebar-collapsed .sat-front-sidebar a {
        gap: 11px;
        height: auto;
        justify-content: flex-start;
        margin-left: 0;
        margin-right: 0;
        min-height: 34px;
        padding: 7px 10px;
        width: auto;
    }
}

.sat-frontend .sat-front-section-heading {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.sat-frontend .sat-front-section-heading h2 {
    margin: 0;
}

.sat-frontend .sat-front-section-heading > p {
    color: var(--sat-front-muted);
    margin: 0;
    max-width: 560px;
}

.sat-frontend .sat-front-guide {
    border-left: 4px solid #00a885;
}

.sat-frontend .sat-front-guide-grid {
    counter-reset: sat-guide-step;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.sat-frontend .sat-front-guide-item {
    min-width: 0;
}

.sat-frontend .sat-front-guide-card {
    align-content: start;
    background: #ffffff;
    border: 1px solid #d8e3f2;
    border-radius: 8px;
    color: var(--sat-front-text);
    display: grid;
    gap: 12px;
    min-height: 178px;
    padding: 16px;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.sat-frontend a.sat-front-guide-card:hover,
.sat-frontend a.sat-front-guide-card:focus-visible {
    border-color: #2474ea;
    box-shadow: 0 12px 24px rgba(36, 116, 234, 0.14);
    transform: translateY(-1px);
}

.sat-frontend .sat-front-guide-card.is-disabled {
    background: #f6f8fb;
    color: #66778b;
}

.sat-frontend .sat-front-guide-topline {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.sat-frontend .sat-front-guide-number,
.sat-frontend .sat-front-guide-icon {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    justify-content: center;
}

.sat-frontend .sat-front-guide-number {
    background: #2474ea;
    color: #ffffff;
    font-weight: 800;
    height: 34px;
    width: 34px;
}

.sat-frontend .sat-front-guide-icon {
    background: #eaf4ff;
    color: #0f4c95;
    height: 38px;
    width: 38px;
}

.sat-frontend .sat-front-guide-card.is-disabled .sat-front-guide-number,
.sat-frontend .sat-front-guide-card.is-disabled .sat-front-guide-icon {
    background: #e5ebf2;
    color: #526579;
}

.sat-frontend .sat-front-guide-icon svg {
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 22px;
}

.sat-frontend .sat-front-guide-body {
    display: grid;
    gap: 7px;
}

.sat-frontend .sat-front-guide-body strong {
    color: #0f172a;
    font-size: 1rem;
}

.sat-frontend .sat-front-guide-body span {
    color: var(--sat-front-muted);
    line-height: 1.45;
}

.sat-frontend .sat-front-guide-status {
    align-self: end;
    background: #eef6ff;
    border: 1px solid #d6e7fb;
    border-radius: 999px;
    color: #174b87;
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 700;
    justify-self: start;
    padding: 5px 10px;
}

.sat-frontend .sat-front-guide-card.is-disabled .sat-front-guide-status {
    background: #ffffff;
    color: #5f6f82;
}

@media (max-width: 1080px) {
    .sat-frontend .sat-front-guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .sat-frontend .sat-front-section-heading {
        display: grid;
    }

    .sat-frontend .sat-front-guide-grid {
        grid-template-columns: 1fr;
    }

    .sat-frontend .sat-front-guide-card {
        min-height: 0;
    }
}

.sat-frontend .sat-front-planning {
    display: grid;
    gap: 18px;
}

.sat-frontend .sat-front-subpanel {
    background: #f8fbff;
    border: 1px solid #dbe6f4;
    border-radius: 8px;
    display: grid;
    gap: 14px;
    padding: 16px;
}

.sat-frontend .sat-front-subpanel h3 {
    margin: 0;
}

.sat-frontend .sat-front-planning-summary {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sat-frontend .sat-front-planning-summary article {
    background: #ffffff;
    border: 1px solid #dbe6f4;
    border-radius: 8px;
    display: grid;
    gap: 8px;
    padding: 14px;
}

.sat-frontend .sat-front-planning-summary strong {
    color: #0f172a;
    font-size: 1.6rem;
}

.sat-frontend .sat-front-planning-summary span {
    color: var(--sat-front-muted);
}

.sat-frontend .sat-front-planning-summary progress,
.sat-frontend .sat-front-planning-table progress {
    max-width: 100%;
    width: 100%;
}

.sat-frontend .sat-front-planning .sat-front-notice ul {
    margin-bottom: 0;
}

.sat-frontend .sat-front-planning-table td {
    vertical-align: top;
}

@media (max-width: 1080px) {
    .sat-frontend .sat-front-planning-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .sat-frontend .sat-front-planning-table,
    .sat-frontend .sat-front-planning-table thead,
    .sat-frontend .sat-front-planning-table tbody,
    .sat-frontend .sat-front-planning-table tr,
    .sat-frontend .sat-front-planning-table th,
    .sat-frontend .sat-front-planning-table td {
        display: block;
    }

    .sat-frontend .sat-front-planning-table thead {
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        height: 1px;
        overflow: hidden;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }

    .sat-frontend .sat-front-planning-table tr {
        background: #ffffff;
        border: 1px solid #dbe6f4;
        border-radius: 8px;
        margin-bottom: 12px;
        padding: 12px;
    }

    .sat-frontend .sat-front-planning-table td {
        border: 0;
        padding: 7px 0;
    }
}

/* Patch 0.6.2 final: esta regra precisa ficar no fim do arquivo para vencer a cascata legada. */
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:hover .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:focus-visible .sat-front-nav-icon {
    clip: auto !important; /* Neutraliza regra legada que escondia spans no menu recolhido. */
    clip-path: none !important; /* Neutraliza regra legada que escondia spans no menu recolhido. */
    color: #374151 !important;
    display: inline-flex !important;
    flex: 0 0 22px !important;
    height: 22px !important;
    opacity: 1 !important;
    overflow: visible !important;
    position: static !important;
    visibility: visible !important;
    white-space: normal !important;
    width: 22px !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a .sat-front-nav-icon svg,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active .sat-front-nav-icon svg,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:hover .sat-front-nav-icon svg,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:focus-visible .sat-front-nav-icon svg {
    color: #374151 !important;
    display: block !important;
    fill: none !important;
    height: 22px !important;
    opacity: 1 !important;
    stroke: currentColor !important;
    visibility: visible !important;
    width: 22px !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active {
    background: #dbeafe;
    border-color: #93c5fd;
    color: #374151;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a span:not(.sat-front-nav-icon),
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar-section p {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* Ciclo 17 visual hardening: regra final para vencer a cascata legada e manter o shell full width. */
.sat-frontend,
.sat-standalone-body {
    min-width: 0;
    width: 100%;
}

.sat-frontend {
    overflow-x: hidden;
}

.sat-frontend .sat-front-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
    width: 100%;
}

.sat-frontend.is-sidebar-collapsed .sat-front-shell {
    grid-template-columns: 72px minmax(0, 1fr);
}

.sat-frontend .sat-front-sidebar {
    min-height: 100vh;
    width: 100%;
}

.sat-frontend .sat-front-workspace {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
}

.sat-frontend .sat-front-main,
.sat-frontend .sat-front-panel,
.sat-frontend .sat-front-welcome,
.sat-frontend .sat-front-grid,
.sat-frontend .sat-front-dashboard-columns,
.sat-frontend .sat-front-module-grid,
.sat-frontend .sat-front-guide-grid,
.sat-frontend .sat-front-planning-summary,
.sat-frontend .sat-front-admin-grid--large,
.sat-frontend .sat-front-table-wrap,
.sat-frontend .sat-front-form-grid,
.sat-frontend .sat-front-filter-grid {
    max-width: none;
    min-width: 0;
    width: 100%;
}

.sat-frontend .sat-front-panel-heading {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    width: 100%;
}

.sat-frontend .sat-front-header {
    align-items: center;
    box-sizing: border-box;
    display: grid;
    gap: 12px;
    grid-template-columns: 44px minmax(0, 120px) minmax(0, 1fr) minmax(250px, 1fr) auto auto;
    min-height: 88px;
    width: 100%;
}

.sat-frontend .sat-front-brand-lockup,
.sat-frontend .sat-header__logo {
    max-width: 120px;
    min-width: 0;
    width: 120px;
}

.sat-frontend .sat-front-app-logo,
.sat-frontend .sat-header__logo img {
    height: auto;
    max-height: 72px;
    max-width: 120px;
    width: auto;
}

.sat-frontend .sat-front-title-block,
.sat-frontend .sat-front-search,
.sat-frontend .sat-front-user {
    min-width: 0;
}

.sat-frontend .sat-front-search {
    width: 100%;
}

.sat-frontend .sat-front-search input {
    min-width: 0;
    width: 100%;
}

.sat-frontend .sat-front-user {
    align-self: center;
    justify-self: end;
    max-width: 220px;
}

.sat-frontend .sat-front-user strong,
.sat-frontend .sat-front-user small,
.sat-frontend .sat-front-user a {
    overflow-wrap: anywhere;
}

.sat-frontend .sat-front-table-wrap {
    overflow-x: auto;
}

.sat-frontend .sat-front-table,
.sat-frontend .sat-front-planning-table {
    min-width: 760px;
    width: 100%;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:hover .sat-front-nav-icon,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:focus-visible .sat-front-nav-icon {
    color: #374151 !important;
    display: inline-flex !important;
    height: 22px !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 22px !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active .sat-front-nav-icon {
    color: #ffffff !important;
}

.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a .sat-front-nav-icon svg,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a.is-active .sat-front-nav-icon svg,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:hover .sat-front-nav-icon svg,
.sat-frontend.is-sidebar-collapsed .sat-front-sidebar a:focus-visible .sat-front-nav-icon svg {
    color: inherit !important;
    display: block !important;
    fill: none !important;
    height: 22px !important;
    stroke: currentColor !important;
    width: 22px !important;
}

@media (max-width: 1080px) {
    .sat-frontend .sat-front-header {
        grid-template-columns: 44px minmax(0, 120px) minmax(0, 1fr) minmax(220px, 1fr);
    }

    .sat-frontend .sat-front-notification-menu,
    .sat-frontend .sat-front-user {
        grid-column: span 1;
    }

    .sat-frontend .sat-front-brand-lockup,
    .sat-frontend .sat-header__logo,
    .sat-frontend .sat-front-app-logo,
    .sat-frontend .sat-header__logo img {
        max-width: 120px;
    }
}

@media (max-width: 760px) {
    .sat-frontend .sat-front-shell,
    .sat-frontend.is-sidebar-collapsed .sat-front-shell {
        display: block;
    }

    .sat-frontend .sat-front-header {
        grid-template-columns: 44px minmax(0, 1fr);
        min-height: auto;
    }

    .sat-frontend .sat-front-title-block,
    .sat-frontend .sat-front-search,
    .sat-frontend .sat-front-notification-menu,
    .sat-frontend .sat-front-user {
        grid-column: 1 / -1;
        justify-self: stretch;
        max-width: none;
        width: 100%;
    }

    .sat-frontend .sat-front-brand-lockup,
    .sat-frontend .sat-header__logo,
    .sat-frontend .sat-front-app-logo,
    .sat-frontend .sat-header__logo img {
        max-width: 100px;
        width: auto;
    }

    .sat-frontend .sat-front-search {
        grid-template-columns: 1fr;
    }

    .sat-frontend .sat-front-user {
        justify-self: start;
    }

    .sat-frontend .sat-front-panel-heading {
        display: grid;
    }
}
