/* Super Admin 2026 — shell + tokens (slate/teal) */

:root {
    --sa-bg: #F4F6F8;
    --sa-surface: #FFFFFF;
    --sa-text: #0F172A;
    --sa-muted: #64748B;
    --sa-border: #E2E8F0;
    --sa-accent: #D84D15;
    --sa-accent-soft: #FFE8DC;
    --sa-sidebar: #051835;
    --sa-sidebar-text: #CBD5E1;
    --sa-sidebar-active: #D84D15;
    --sa-danger: #B42318;
    --sa-radius: 14px;
    --sa-sidebar-w: 260px;
    --sa-sidebar-w-collapsed: 76px;
    /* Menu global sticky (.pl-topnav / nav.sticky-top) */
    --pl-topnav-h: 64px;
}

/* Evita scroll duplo: menu global fica fixo; só o conteúdo do SA rola */
body:has(.sa-app) {
    overflow: hidden;
}

.sa-app {
    height: calc(100vh - var(--pl-topnav-h));
    height: calc(100dvh - var(--pl-topnav-h));
    min-height: calc(100vh - var(--pl-topnav-h));
    min-height: calc(100dvh - var(--pl-topnav-h));
    max-height: calc(100vh - var(--pl-topnav-h));
    max-height: calc(100dvh - var(--pl-topnav-h));
    background-color: var(--sa-bg);
    color: var(--sa-text);
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

/* ng-include wraps the aside — stretch with content height */
.sa-sidebar-wrap {
    display: flex;
    flex: 0 0 var(--sa-sidebar-w);
    width: var(--sa-sidebar-w);
    align-self: stretch;
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    transition: width 0.2s ease, flex-basis 0.2s ease;
}

.sa-sidebar {
    width: 100%;
    flex: 1 1 auto;
    min-height: 100%;
    height: auto;
    background: transparent;
    color: var(--sa-sidebar-text);
    display: flex;
    flex-direction: column;
    padding: 1.25rem 0.85rem 1.5rem;
    z-index: 1045;
}

.sa-app.sa-collapsed {
    --sa-sidebar-w: var(--sa-sidebar-w-collapsed);
    background-size: var(--sa-sidebar-w-collapsed) 100%;
}

.sa-app.sa-collapsed .sa-sidebar-wrap {
    flex-basis: var(--sa-sidebar-w-collapsed);
    width: var(--sa-sidebar-w-collapsed);
}

.sa-app.sa-collapsed .sa-brand {
    justify-content: center;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.sa-app.sa-collapsed .sa-brand-title,
.sa-app.sa-collapsed .sa-nav-label,
.sa-app.sa-collapsed .sa-nav-text {
    display: none;
}

.sa-app.sa-collapsed .sa-nav-btn {
    justify-content: center;
    padding: 0.7rem 0.35rem;
    gap: 0;
}

.sa-app.sa-collapsed .sa-nav-icon {
    width: auto;
    font-size: 1.1rem;
}

.sa-app.sa-collapsed .sa-sidebar-foot {
    padding: 0.5rem 0.35rem;
}

.sa-app.sa-collapsed .sa-back-btn {
    padding: 0.55rem;
}

.sa-brand {
    padding: 0.35rem 0.5rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.sa-collapse-btn {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: transparent;
    color: #E2E8F0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sa-collapse-btn:hover {
    background: rgba(148, 163, 184, 0.12);
    color: #fff;
}

.sa-brand-title {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    color: #94A3B8;
    margin: 0;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sa-nav-text {
    white-space: nowrap;
}

.sa-back-btn {
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.sa-brand-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #F8FAFC;
    margin: 0;
    line-height: 1.25;
}

.sa-nav-group {
    margin-bottom: 1.15rem;
}

.sa-nav-label {
    font-size: 0.74rem;
    letter-spacing: 0.02em;
    color: #64748B;
    padding: 0.35rem 0.75rem;
    margin: 0 0 0.35rem;
    font-weight: 700;
}

.sa-nav-group-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    border-radius: 8px;
}

.sa-nav-group-toggle:hover {
    color: #E2E8F0;
    background: rgba(148, 163, 184, 0.1);
}

.sa-nav-caret {
    font-size: 0.62rem;
    opacity: 0.8;
    transition: transform 0.18s ease;
}

.sa-nav-group.is-closed .sa-nav-caret {
    transform: rotate(-90deg);
}

.sa-nav-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 0;
    background: transparent;
    color: var(--sa-sidebar-text);
    text-align: left;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    min-height: 48px;
    transition: background 0.15s ease, color 0.15s ease;
}

.sa-nav-btn:hover {
    background: rgba(148, 163, 184, 0.12);
    color: #F8FAFC;
}

.sa-nav-btn.active {
    background: rgba(216, 77, 21, 0.16);
    color: #FFB089;
    box-shadow: inset 3px 0 0 var(--sa-sidebar-active);
}

.sa-nav-icon {
    width: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0.9;
}

.sa-nav-icon svg {
    width: 1em;
    height: 1em;
}

.sa-sidebar-foot {
    margin-top: auto;
    padding: 0.75rem;
}

.sa-sidebar-foot .btn {
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
    font-weight: 600;
}

.sa-main {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sa-topbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: var(--sa-surface);
    border-bottom: 1px solid var(--sa-border);
    position: relative;
    flex: 0 0 auto;
    z-index: 20;
    min-height: 48px;
}

.sa-topbar-compact {
    flex-wrap: wrap;
}

.sa-topbar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex: 1 1 auto;
}

.sa-menu-toggle {
    display: none;
    border: 1px solid var(--sa-border);
    background: var(--sa-surface);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--sa-text);
    flex: 0 0 auto;
}

.sa-page-title {
    display: none; /* título da seção vai no header global */
}

.sa-page-kicker {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--sa-muted);
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.sa-page-sub {
    display: none;
}

.sa-list-wrap {
    width: 100%;
    min-width: 0;
}

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

.sa-row-action {
    min-width: 40px;
    min-height: 40px;
    padding: 0.35rem 0.55rem;
    border-radius: 10px;
}

.sa-card-list {
    display: none;
}

.sa-table-desk {
    display: block;
    min-width: 0;
}

.sa-panel .dataTables_wrapper .dataTables_filter {
    display: none !important;
}

.sa-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    color: var(--sa-muted);
    font-size: 0.88rem;
}

.sa-ctx {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: nowrap;
    flex: 0 1 auto;
    max-width: 100%;
}

.sa-ctx-field {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    min-width: 0;
}

.sa-ctx-label {
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--sa-muted);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sa-ctx-field .form-select {
    min-width: 120px;
    width: 150px;
    max-width: 180px;
    min-height: 32px;
    height: 32px;
    padding: 0.2rem 1.75rem 0.2rem 0.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.82rem;
    border-color: var(--sa-border);
    background-color: #fff;
    line-height: 1.2;
}

/* legado — se algum template antigo ainda usar */
.sa-cliente-select {
    min-width: 140px;
    width: 160px;
    flex: 0 1 180px;
    max-width: 200px;
}

.sa-cliente-select .form-select {
    min-height: 32px;
    height: 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.82rem;
    border-color: var(--sa-border);
    background-color: #fff;
}

.sa-cliente-select label {
    color: var(--sa-muted);
}

.sa-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: var(--sa-accent-soft);
    color: #B53E0F;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid #FFC9AE;
    max-width: 100%;
    white-space: nowrap;
}

.sa-chip-warn {
    background: #FFF7ED;
    color: #C2410C;
    border-color: #FED7AA;
    cursor: pointer;
    text-decoration: none;
}

.sa-chip-warn:hover {
    filter: brightness(0.97);
}

.sa-content {
    padding: 0.75rem 1rem 1.5rem;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.sa-panel-flush {
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

.sa-panel {
    background: var(--sa-surface);
    border: 1px solid var(--sa-border);
    border-radius: var(--sa-radius);
    padding: 1rem 1.1rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    min-width: 0;
    max-width: 100%;
    overflow: visible;
}

.sa-backdrop {
    display: none;
}

/* Form pages — conteúdo dentro do mesmo shell/sidebar */
.sa-form-body {
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
    padding: 0.25rem 0.25rem 4rem;
}

.sa-form-body .container,
.sa-form-body .ml-page {
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
}

.sa-form-body .bg-light {
    background: var(--sa-surface) !important;
    border: 1px solid var(--sa-border);
    border-radius: var(--sa-radius);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* Tabelas limpas no painel — contraste legível (sobrescreve color:white dos CSS antigos) */
.sa-panel table#customers,
.sa-panel table#listagem_servico,
.sa-panel table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

/* Docas: largura natural; scroll horizontal no .sa-docas-scroll */
.sa-panel table#listagem_doca {
    width: max-content !important;
    min-width: 100%;
    max-width: none;
    border-collapse: separate;
    border-spacing: 0;
}

.sa-panel table thead th,
.sa-panel table#customers thead th,
.sa-panel table#listagem_doca thead th,
.sa-panel table#listagem_servico thead th,
.sa-panel #customers th,
.sa-panel #listagem_doca th,
.sa-panel #listagem_servico th {
    background: #0F172A !important;
    color: #F8FAFC !important;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    border-bottom: 1px solid #1E293B;
    padding: 0.85rem 0.65rem !important;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 6;
    box-shadow: 0 1px 0 #1E293B;
}

/* Wrappers com overflow quebram sticky do thead — scroll fica no .sa-content */
.sa-content .table-responsive,
.sa-panel .table-responsive,
.sa-panel .sa-docas-scroll {
    overflow: visible !important;
    max-width: none;
}

.sa-panel .dataTables_wrapper {
    overflow: visible !important;
}

.sa-panel .dataTables_wrapper .dataTables_scroll,
.sa-panel .dataTables_wrapper .dataTables_scrollBody,
.sa-panel .dataTables_wrapper .dataTables_scrollHead {
    overflow: visible !important;
}

.sa-panel table tbody td,
.sa-panel table#customers tbody td,
.sa-panel table#listagem_doca tbody td,
.sa-panel table#listagem_servico tbody td {
    padding: 0.85rem 0.65rem;
    border-bottom: 1px solid var(--sa-border);
    vertical-align: middle;
    color: var(--sa-text);
    background: #fff;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.sa-panel table thead th {
    overflow: hidden;
}

.sa-panel table tbody td:has(.btn-group),
.sa-panel table tbody td:has(.dropdown) {
    overflow: visible;
}

.sa-panel table tbody tr:nth-child(even) td {
    background: #F8FAFC;
}

.sa-panel table tbody tr:hover td {
    background: #FFF1E8;
}

/* DataTables dentro do painel */
.sa-panel .dataTables_wrapper .dataTables_filter input,
.sa-panel .dataTables_wrapper .dataTables_length select {
    min-height: 40px;
    border-radius: 10px;
    border: 1px solid var(--sa-border);
}

.sa-panel .dataTables_wrapper .dataTables_info,
.sa-panel .dataTables_wrapper .dataTables_paginate {
    color: var(--sa-muted);
    padding-top: 0.75rem;
}

.sa-panel .btn-primary,
.sa-form-body .btn-primary {
    background: var(--sa-accent);
    border-color: var(--sa-accent);
}

.sa-panel .btn-primary:hover,
.sa-form-body .btn-primary:hover {
    background: #BE4312;
    border-color: #BE4312;
}

.sa-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.sa-filter-row .form-floating,
.sa-filter-row .form-select,
.sa-filter-row .form-control {
    min-height: 48px;
    border-radius: 12px;
}

@media (max-width: 991.98px) {
    .sa-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .sa-app {
        background-image: none;
    }

    .sa-sidebar-wrap {
        position: fixed;
        top: var(--pl-topnav-h);
        bottom: 0;
        left: 0;
        width: var(--sa-sidebar-w);
        height: auto;
        z-index: 1045;
        transform: translateX(-105%);
        transition: transform 0.22s ease;
        background: var(--sa-sidebar);
    }

    .sa-sidebar {
        box-shadow: 8px 0 24px rgba(15, 23, 42, 0.25);
        min-height: 100%;
        background: transparent;
    }

    .sa-app.sa-nav-open .sa-sidebar-wrap {
        transform: translateX(0);
    }

    .sa-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        z-index: 1040;
    }

    .sa-app.sa-nav-open .sa-backdrop {
        display: block;
    }
}

/* Workflow admin — UX simples */
.wf-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, #F8FAFC, #FFF7ED);
    border: 1px solid #E2E8F0;
    border-radius: 14px;
}
.wf-intro-title {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #051835;
}
.wf-intro-text {
    margin: 0;
    color: #64748B;
    font-size: 0.92rem;
    max-width: 52rem;
    line-height: 1.45;
}
.wf-toast {
    position: sticky;
    top: 0.5rem;
    z-index: 5;
    margin-bottom: 0.75rem;
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
    font-weight: 600;
    font-size: 0.9rem;
}
.wf-toast.erro {
    background: #FEF2F2;
    color: #991B1B;
    border-color: #FECACA;
}
.wf-templates {
    margin: 0 0 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    background: #F8FAFC;
}
.wf-templates-title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    color: #051835;
}
.wf-template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.65rem;
    margin-top: 0.75rem;
}
.wf-template-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    text-align: left;
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.wf-template-card:hover {
    border-color: #D84D15;
    box-shadow: 0 0 0 2px rgba(216, 77, 21, 0.15);
}
.wf-template-card strong {
    color: #0F172A;
    font-size: 0.95rem;
}
.wf-template-card span {
    color: #64748B;
    font-size: 0.8rem;
    line-height: 1.35;
}
.wf-avancado {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}
.wf-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: #64748B;
}
.wf-layout {
    display: grid;
    grid-template-columns: minmax(200px, 240px) 1fr;
    gap: 1rem;
    align-items: start;
}
.wf-side-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94A3B8;
    margin: 0 0 0.5rem;
}
.wf-profile-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background: #fff;
    text-align: left;
    cursor: pointer;
}
.wf-profile-card.active {
    border-color: #D84D15;
    box-shadow: 0 0 0 2px rgba(216, 77, 21, 0.18);
}
.wf-profile-name { font-weight: 700; color: #0F172A; }
.wf-tag {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: #FFF1E8;
    color: #B93E10;
    font-size: 0.7rem;
    font-weight: 700;
}
.wf-tag.muted { background: #F1F5F9; color: #64748B; }
.wf-detail-head {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
}
.wf-detail-title-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.wf-name-input {
    flex: 1 1 220px;
    min-height: 44px;
    font-weight: 600;
}
.wf-detail-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.5rem;
}
.wf-hint { margin: 0; color: #94A3B8; font-size: 0.82rem; }
.wf-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    color: #334155;
    cursor: pointer;
    user-select: none;
}
.wf-switch.compact { font-size: 0.8rem; }
.wf-switch input { width: 1.05rem; height: 1.05rem; }
.wf-acc-item {
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    background: #fff;
    margin-bottom: 0.55rem;
    overflow: hidden;
}
.wf-acc-item.off { opacity: 0.62; }
.wf-acc-item.open {
    border-color: #CBD5E1;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.wf-acc-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}
.wf-ordem {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #051835;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    flex: 0 0 auto;
}
.wf-acc-title {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}
.wf-acc-title strong { color: #0F172A; font-size: 1rem; }
.wf-acc-title small { color: #94A3B8; font-size: 0.78rem; }
.wf-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.15);
    flex: 0 0 auto;
}
.wf-acc-body {
    padding: 0 1rem 1rem;
    border-top: 1px solid #F1F5F9;
}
.wf-field-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0.85rem 0 0.5rem;
}
.wf-field { display: flex; flex-direction: column; gap: 0.25rem; }
.wf-field.grow { flex: 1 1 200px; }
.wf-char-count {
    margin-left: 0.35rem;
    font-weight: 500;
    color: #94A3B8;
}
.wf-char-count.is-full { color: #B91C1C; }
.wf-color {
    width: 44px;
    height: 36px;
    padding: 0;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    background: #fff;
}
.wf-block-title {
    margin: 1rem 0 0.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #051835;
}
.wf-status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.65rem;
    margin-top: 0.5rem;
}
.wf-status-card {
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 0.75rem;
    background: #F8FAFC;
}
.wf-papel-entrada { border-left: 4px solid #22C55E; }
.wf-papel-controle { border-left: 4px solid #F59E0B; }
.wf-papel-saida { border-left: 4px solid #3B82F6; }
.wf-status-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}
.wf-papel-pill {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #334155;
}
.wf-papel-select {
    max-width: 9.5rem;
    font-size: 0.78rem;
    font-weight: 600;
}
.wf-color-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.55rem;
}
.wf-color-swatch {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 4px;
    border: 1px solid rgba(15, 23, 42, 0.2);
    flex: 0 0 auto;
}
.wf-add-status {
    margin: 0.75rem 0 1rem;
}
.wf-add-status-form {
    margin: 0.75rem 0 1.1rem;
    padding: 0.85rem;
    border: 1px dashed #CBD5E1;
    border-radius: 12px;
    background: #FFF;
}
.wf-preview-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.75rem;
}
.wf-view-toggle {
    display: inline-flex;
    gap: 0.25rem;
    margin-top: 0.75rem;
    padding: 0.25rem;
    background: #F1F5F9;
    border-radius: 10px;
}
.wf-view-btn {
    border: 0;
    background: transparent;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748B;
    cursor: pointer;
}
.wf-view-btn.on {
    background: #fff;
    color: #051835;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.wf-map {
    margin: 0 0 1.1rem;
    padding: 1rem 1rem 0.85rem;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    background:
        radial-gradient(ellipse at 12% 20%, rgba(216, 77, 21, 0.08), transparent 42%),
        radial-gradient(ellipse at 88% 80%, rgba(5, 24, 53, 0.08), transparent 45%),
        linear-gradient(165deg, #F8FAFC 0%, #EEF2FF 48%, #F8FAFC 100%);
    overflow-x: auto;
}
.wf-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-bottom: 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748B;
}
.wf-leg-dot {
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    margin-right: 0.3rem;
    vertical-align: middle;
    border: 1px solid rgba(15, 23, 42, 0.12);
}
.wf-leg-dot.portaria {
    background: transparent;
    border: 2px dashed #D84D15;
}
.wf-same-screen {
    margin-bottom: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px dashed #D84D15;
    background: rgba(216, 77, 21, 0.06);
    font-size: 0.875rem;
    color: #334155;
}
.wf-tela-box {
    margin: 0 0 1rem;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
}
.wf-map-track {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.35rem 0;
    min-width: min(100%, 720px);
}
.wf-map-node-wrap {
    display: flex;
    align-items: center;
    max-width: 100%;
}
.wf-map-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.28rem;
    width: 148px;
    min-height: 118px;
    padding: 0.7rem 0.7rem 0.65rem;
    border-radius: 14px;
    border: 2px solid #E2E8F0;
    border-color: var(--node-cor, #CBD5E1);
    background: #fff;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wf-map-node:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
}
.wf-map-node-wrap.active .wf-map-node {
    border-color: #D84D15;
    box-shadow: 0 0 0 3px rgba(216, 77, 21, 0.2);
}
.wf-map-node-wrap.off .wf-map-node {
    opacity: 0.55;
}
.wf-map-node-wrap.portaria .wf-map-node {
    border-style: dashed;
    border-color: #D84D15;
}
.wf-map-num {
    display: inline-flex;
    width: 1.55rem;
    height: 1.55rem;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--node-cor, #051835);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
}
.wf-map-node.light .wf-map-num {
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.18);
}
.wf-map-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.25;
    min-height: 2.1em;
}
.wf-map-exit {
    font-size: 0.7rem;
    color: #64748B;
    line-height: 1.3;
}
.wf-map-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin-top: 0.15rem;
}
.wf-map-status-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.15);
}
.wf-map-badge {
    position: absolute;
    top: -0.45rem;
    right: 0.45rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
    background: #FFF7ED;
    color: #C2410C;
    border: 1px solid #FDBA74;
}
.wf-map-badge.role {
    top: auto;
    bottom: -0.35rem;
    right: 0.45rem;
    background: #F1F5F9;
    color: #334155;
    border-color: #CBD5E1;
    font-weight: 700;
    text-transform: none;
}
.wf-map-arrow {
    width: 1.1rem;
    height: 2px;
    margin: 0 0.15rem;
    background: linear-gradient(90deg, #CBD5E1, #94A3B8);
    position: relative;
    flex: 0 0 auto;
}
.wf-map-arrow::after {
    content: '';
    position: absolute;
    right: -1px;
    top: -3px;
    border: 4px solid transparent;
    border-left-color: #94A3B8;
}
.wf-map-hint {
    margin: 0.75rem 0 0;
    font-size: 0.78rem;
    color: #94A3B8;
}
@media (max-width: 720px) {
    .wf-map-node { width: 132px; min-height: 108px; }
    .wf-map-arrow { width: 0.7rem; }
}

@media (max-width: 767.98px) {
    .sa-ctx {
        flex-wrap: wrap;
        width: 100%;
        gap: 0.45rem;
    }
    .sa-ctx-field {
        width: 100%;
    }
    .sa-ctx-field .form-select {
        width: 100%;
        max-width: none;
    }

    .wf-intro {
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem 0.85rem;
        gap: 0.5rem;
    }
    .wf-intro-text {
        font-size: 0.82rem;
    }
    .wf-profiles {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
        align-items: center;
    }
    .wf-side-label {
        width: 100%;
        margin: 0;
    }
    .wf-profile-card {
        width: auto;
        margin: 0;
        padding: 0.5rem 0.7rem;
    }
    .wf-detail-head {
        padding: 0.75rem;
    }
    .wf-detail-title-row {
        flex-direction: column;
    }
    .wf-name-input,
    .wf-detail-title-row .btn {
        width: 100%;
    }
    .wf-view-toggle {
        display: flex;
        width: 100%;
    }
    .wf-view-btn {
        flex: 1;
        text-align: center;
    }
    .wf-preview-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .wf-map {
        overflow-x: visible;
    }
    .wf-map-track {
        flex-direction: column;
        min-width: 0;
        align-items: stretch;
        gap: 0;
    }
    .wf-map-node-wrap {
        flex-direction: column;
        width: 100%;
    }
    .wf-map-node {
        width: 100%;
        min-height: 0;
    }
    .wf-map-arrow {
        width: 2px;
        height: 0.8rem;
        margin: 0.15rem auto;
        background: linear-gradient(180deg, #CBD5E1, #94A3B8);
    }
    .wf-map-arrow::after {
        right: -3px;
        top: auto;
        bottom: -2px;
        border: 4px solid transparent;
        border-top-color: #94A3B8;
        border-left-color: transparent;
    }
}
.wf-cadastro-preview {
    margin: 0 0 1.15rem;
    padding: 1rem 1.1rem;
    border: 1px solid #FED7AA;
    border-radius: 14px;
    background: linear-gradient(180deg, #FFF7ED, #FFFFFF);
}
.wf-cadastro-preview-head h4 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    color: #9A3412;
}
.wf-cadastro-preview-head p {
    margin: 0 0 0.85rem;
    color: #9A3412;
    font-size: 0.86rem;
    opacity: 0.85;
}
.wf-portaria-tabs {
    display: inline-flex;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    padding: 0.25rem;
    background: #FFEDD5;
    border-radius: 10px;
}
.wf-portaria-tab {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    color: #9A3412;
}
.wf-portaria-tab.on {
    background: #fff;
    color: #C2410C;
    box-shadow: 0 1px 2px rgba(154, 52, 18, 0.12);
}
.wf-cadastro-status {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
    font-size: 0.88rem;
    color: #334155;
}
.wf-pill-status {
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}
.wf-cadastro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.65rem;
}
.wf-cadastro-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748B;
    margin-bottom: 0.2rem;
}
.wf-cadastro-field.grow { grid-column: span 1; }
.wf-cadastro-block {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px dashed #FDBA74;
}
.wf-cadastro-block h5 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    color: #9A3412;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.wf-feat-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: #FFEDD5;
    color: #C2410C;
}
.wf-cadastro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.55rem;
}
.wf-dacte-row {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
}
.wf-cadastro-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid #FED7AA;
}
.wf-status-help {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    color: #94A3B8;
}
.wf-status-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
}
.wf-tech {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #E2E8F0;
}
.wf-tech code {
    display: block;
    font-size: 0.7rem;
    color: #64748B;
    margin-bottom: 0.35rem;
    word-break: break-all;
}
.wf-feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.wf-feat-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background: #fff;
    text-align: left;
    cursor: pointer;
}
.wf-feat-card.on {
    border-color: #D84D15;
    background: #FFF7ED;
}
.wf-feat-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: #0F172A;
}
.wf-feat-state { font-size: 0.75rem; color: #94A3B8; }
.wf-feat-card.on .wf-feat-state {
    color: #B93E10;
    font-weight: 600;
}
@media (max-width: 991.98px) {
    .wf-layout { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    .sa-table-desk {
        display: none !important;
    }

    .sa-card-list {
        display: block;
    }

    .sa-page-kicker {
        display: none;
    }

    .sa-toolbar-actions {
        width: 100%;
    }

    .sa-toolbar-actions .btn {
        flex: 1 1 auto;
    }

    .sa-pager {
        flex-direction: column;
        align-items: stretch;
    }

    .sa-pager .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ========== Dark mode — conteúdo SA (sidebar já é navy) ========== */
body.pl-theme-dark {
    --sa-bg: #061428;
    --sa-surface: #0B1F3C;
    --sa-text: #F8FAFC;
    --sa-muted: #93A4BB;
    --sa-border: rgba(148, 163, 184, 0.22);
    --sa-accent: #D84D15;
    --sa-accent-soft: rgba(216, 77, 21, 0.2);
}

body.pl-theme-dark .sa-app,
body.pl-theme-dark .sa-app.pl-op-page {
    background: #061428 !important;
    color: #F8FAFC;
}

body.pl-theme-dark .sa-topbar {
    background: #0B1F3C;
    border-bottom-color: rgba(148, 163, 184, 0.22);
}

body.pl-theme-dark .sa-page-kicker {
    color: #93A4BB;
}

body.pl-theme-dark .sa-ctx-label {
    color: #93A4BB;
}

body.pl-theme-dark .sa-ctx-field .form-select,
body.pl-theme-dark .sa-cliente-select .form-select {
    background-color: #0C2344;
    color: #F8FAFC;
    border-color: rgba(148, 163, 184, 0.28);
}

body.pl-theme-dark .sa-ctx-field .form-select option,
body.pl-theme-dark .sa-cliente-select .form-select option {
    background: #0B1F3C;
    color: #F8FAFC;
}

body.pl-theme-dark .sa-menu-toggle {
    background: #0C2344;
    color: #F8FAFC;
    border-color: rgba(148, 163, 184, 0.28);
}

body.pl-theme-dark .sa-chip {
    background: rgba(216, 77, 21, 0.2);
    color: #FFB089;
    border-color: rgba(216, 77, 21, 0.4);
}

body.pl-theme-dark .sa-chip-warn {
    background: rgba(194, 65, 12, 0.22);
    color: #FDBA74;
    border-color: rgba(253, 186, 116, 0.4);
}

body.pl-theme-dark .sa-content {
    background: #061428;
}

body.pl-theme-dark .sa-panel,
body.pl-theme-dark .sa-form-body .bg-light,
body.pl-theme-dark .sa-form-body .container.bg-light,
body.pl-theme-dark .sa-form-body .bg-body {
    background: #0B1F3C !important;
    border-color: rgba(148, 163, 184, 0.22);
    color: #F8FAFC;
    box-shadow: none;
}

body.pl-theme-dark .sa-panel table tbody td,
body.pl-theme-dark .sa-panel table#customers tbody td,
body.pl-theme-dark .sa-panel table#listagem_doca tbody td,
body.pl-theme-dark .sa-panel table#listagem_servico tbody td {
    background: #0B1F3C;
    color: #F8FAFC;
    border-bottom-color: rgba(148, 163, 184, 0.16);
}

body.pl-theme-dark .sa-panel table tbody tr:nth-child(even) td {
    background: #0C2344;
}

body.pl-theme-dark .sa-panel table tbody tr:hover td {
    background: rgba(216, 77, 21, 0.16);
}

body.pl-theme-dark .sa-panel table thead th,
body.pl-theme-dark .sa-panel table#customers thead th,
body.pl-theme-dark .sa-panel table#listagem_doca thead th,
body.pl-theme-dark .sa-panel table#listagem_servico thead th,
body.pl-theme-dark .sa-panel #customers th,
body.pl-theme-dark .sa-panel #listagem_doca th,
body.pl-theme-dark .sa-panel #listagem_servico th {
    background: #051835 !important;
    color: #F8FAFC !important;
    border-bottom-color: #0A2148;
    box-shadow: 0 1px 0 #0A2148;
}

body.pl-theme-dark .sa-panel .dataTables_wrapper .dataTables_filter input,
body.pl-theme-dark .sa-panel .dataTables_wrapper .dataTables_length select,
body.pl-theme-dark .sa-app .form-control,
body.pl-theme-dark .sa-app .form-select,
body.pl-theme-dark .sa-app .form-control:focus,
body.pl-theme-dark .sa-app .form-select:focus {
    background: #0C2344;
    color: #F8FAFC;
    border-color: rgba(148, 163, 184, 0.28);
}

body.pl-theme-dark .sa-app .form-control:focus,
body.pl-theme-dark .sa-app .form-select:focus {
    border-color: #D84D15;
    box-shadow: 0 0 0 0.2rem rgba(216, 77, 21, 0.25);
}

body.pl-theme-dark .sa-app .form-control::placeholder {
    color: #7C8DA6;
}

body.pl-theme-dark .sa-app .form-floating > label,
body.pl-theme-dark .sa-app .form-label,
body.pl-theme-dark .sa-app label {
    color: #93A4BB;
}

body.pl-theme-dark .sa-app .form-select option {
    background: #0B1F3C;
    color: #F8FAFC;
}

body.pl-theme-dark .sa-app .text-muted,
body.pl-theme-dark .sa-app .text-dark,
body.pl-theme-dark .sa-app .text-black {
    color: #93A4BB !important;
}

body.pl-theme-dark .sa-app h1,
body.pl-theme-dark .sa-app h2,
body.pl-theme-dark .sa-app h3,
body.pl-theme-dark .sa-app h4,
body.pl-theme-dark .sa-app h5,
body.pl-theme-dark .sa-app h6,
body.pl-theme-dark .sa-app .h1,
body.pl-theme-dark .sa-app .h3,
body.pl-theme-dark .sa-app .h5 {
    color: #F8FAFC;
}

body.pl-theme-dark .sa-app .btn-outline-primary {
    color: #FFB089;
    border-color: rgba(216, 77, 21, 0.55);
    background: transparent;
}

body.pl-theme-dark .sa-app .btn-outline-primary:hover,
body.pl-theme-dark .sa-app .btn-outline-primary:focus {
    color: #fff;
    background: #D84D15;
    border-color: #D84D15;
}

body.pl-theme-dark .sa-app .btn-outline-secondary,
body.pl-theme-dark .sa-app .btn-secondary {
    color: #F8FAFC;
    border-color: rgba(148, 163, 184, 0.35);
    background: #0C2344;
}

body.pl-theme-dark .sa-app .btn-dark {
    background: #051835;
    border-color: #051835;
    color: #F8FAFC;
}

body.pl-theme-dark .sa-app .page-link {
    background: #0C2344;
    color: #F8FAFC;
    border-color: rgba(148, 163, 184, 0.28);
}

body.pl-theme-dark .sa-app .page-item.active .page-link {
    background: #D84D15;
    border-color: #D84D15;
    color: #fff;
}

body.pl-theme-dark .sa-app .page-item.disabled .page-link {
    background: #0B1F3C;
    color: #64748B;
    border-color: rgba(148, 163, 184, 0.16);
}

body.pl-theme-dark .sa-app .dataTables_wrapper,
body.pl-theme-dark .sa-app .dataTables_info,
body.pl-theme-dark .sa-app .dataTables_length label,
body.pl-theme-dark .sa-app .dataTables_paginate {
    color: #93A4BB;
}

body.pl-theme-dark .sa-app .form-check-input {
    background-color: #0C2344;
    border-color: rgba(148, 163, 184, 0.45);
}

body.pl-theme-dark .sa-app .form-check-input:checked {
    background-color: #D84D15;
    border-color: #D84D15;
}

body.pl-theme-dark .sa-app .form-check-label {
    color: #F8FAFC;
}

body.pl-theme-dark .sa-app .bootstrap-select > .dropdown-toggle,
body.pl-theme-dark .sa-app .bootstrap-select .dropdown-menu {
    background: #0C2344;
    color: #F8FAFC;
    border-color: rgba(148, 163, 184, 0.28);
}

body.pl-theme-dark .sa-app .bootstrap-select .dropdown-item {
    color: #F8FAFC;
}

body.pl-theme-dark .sa-app .bootstrap-select .dropdown-item:hover,
body.pl-theme-dark .sa-app .bootstrap-select .dropdown-item.active,
body.pl-theme-dark .sa-app .bootstrap-select .dropdown-item.selected {
    background: rgba(216, 77, 21, 0.22);
    color: #FFB089;
}

/* Workflow */
body.pl-theme-dark .wf-intro,
body.pl-theme-dark .wf-templates,
body.pl-theme-dark .wf-detail-head,
body.pl-theme-dark .wf-acc-item,
body.pl-theme-dark .wf-profile-card,
body.pl-theme-dark .wf-template-card,
body.pl-theme-dark .wf-status-card,
body.pl-theme-dark .wf-feat-card,
body.pl-theme-dark .wf-tela-box,
body.pl-theme-dark .wf-add-status-form {
    background: #0C2344;
    border-color: rgba(148, 163, 184, 0.22);
    color: #F8FAFC;
}

body.pl-theme-dark .wf-intro {
    background: linear-gradient(135deg, #0B1F3C, #1A120C);
}

body.pl-theme-dark .wf-intro-title,
body.pl-theme-dark .wf-templates-title,
body.pl-theme-dark .wf-profile-name,
body.pl-theme-dark .wf-acc-title strong,
body.pl-theme-dark .wf-block-title,
body.pl-theme-dark .wf-feat-name,
body.pl-theme-dark .wf-map-label,
body.pl-theme-dark .wf-template-card strong {
    color: #F8FAFC;
}

body.pl-theme-dark .wf-intro-text,
body.pl-theme-dark .wf-hint,
body.pl-theme-dark .wf-empty,
body.pl-theme-dark .wf-acc-title small,
body.pl-theme-dark .wf-map-exit,
body.pl-theme-dark .wf-template-card span,
body.pl-theme-dark .wf-feat-state {
    color: #93A4BB;
}

body.pl-theme-dark .wf-switch {
    color: #E2E8F0;
}

body.pl-theme-dark .wf-map-node {
    background: #0B1F3C;
}

body.pl-theme-dark .wf-map {
    background:
        radial-gradient(ellipse at 12% 20%, rgba(216, 77, 21, 0.12), transparent 42%),
        radial-gradient(ellipse at 88% 80%, rgba(5, 24, 53, 0.4), transparent 45%),
        linear-gradient(165deg, #0B1F3C 0%, #0A1830 48%, #0B1F3C 100%);
    border-color: rgba(148, 163, 184, 0.22);
}

body.pl-theme-dark .wf-view-toggle {
    background: #061428;
}

body.pl-theme-dark .wf-view-btn {
    color: #93A4BB;
}

body.pl-theme-dark .wf-view-btn.on {
    background: #0C2344;
    color: #F8FAFC;
}

body.pl-theme-dark .wf-cadastro-preview {
    background: linear-gradient(180deg, #2A160C, #0B1F3C);
    border-color: rgba(216, 77, 21, 0.4);
}

body.pl-theme-dark .wf-cadastro-preview-head h4,
body.pl-theme-dark .wf-cadastro-preview-head p,
body.pl-theme-dark .wf-cadastro-block h5 {
    color: #FDBA74;
}

body.pl-theme-dark .wf-portaria-tabs {
    background: rgba(216, 77, 21, 0.18);
}

body.pl-theme-dark .wf-portaria-tab {
    color: #FDBA74;
}

body.pl-theme-dark .wf-portaria-tab.on {
    background: #0C2344;
    color: #FFB089;
}

body.pl-theme-dark .wf-toast {
    background: #064E3B;
    color: #D1FAE5;
    border-color: #047857;
}

body.pl-theme-dark .wf-toast.erro {
    background: #4C1D1D;
    color: #FECACA;
    border-color: #7F1D1D;
}

body.pl-theme-dark .wf-tag {
    background: rgba(216, 77, 21, 0.2);
    color: #FFB089;
}

body.pl-theme-dark .wf-tag.muted {
    background: #061428;
    color: #93A4BB;
}

body.pl-theme-dark .wf-feat-card.on {
    background: rgba(216, 77, 21, 0.16);
    border-color: #D84D15;
}

body.pl-theme-dark .wf-same-screen {
    color: #E2E8F0;
}

body.pl-theme-dark .wf-cadastro-status,
body.pl-theme-dark .wf-cadastro-field label {
    color: #93A4BB;
}
