/* =====================================================================
   TEMA "LAYOUT NOVO" PARA AS TELAS EM BOOTSTRAP
   Deixa cards, botões, formulários, tabelas e modais do Bootstrap com o
   mesmo visual da dashboard (Inter, slate, azul "brand", cantos arredondados).
   Ativo apenas em <body class="layout-novo"> (includes/topo.php).
   ===================================================================== */

/* Base mínima para o menu/rodapé em Tailwind (gerado sem preflight). */
:where(.tw-scope), :where(.tw-scope) *, :where(.tw-scope) ::before, :where(.tw-scope) ::after {
    border-width: 0;
    border-style: solid;
    border-color: #e2e8f0;
}
:where(.tw-scope) a { text-decoration: none; }
:where(.tw-scope) button { background-color: transparent; font-family: inherit; color: inherit; cursor: pointer; padding: 0; }
:where(.tw-scope) img { display: block; max-width: 100%; }
:where(.tw-scope) form { margin: 0; }

body.layout-novo {
    --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --bs-body-bg: #f8fafc;
    --bs-body-color: #0f172a;
    --bs-secondary-color: #64748b;
    --bs-border-color: #e2e8f0;
    --bs-primary: #2563eb;
    --bs-primary-rgb: 37, 99, 235;
    --bs-link-color: #1d4ed8;
    --bs-link-color-rgb: 29, 78, 216;
    --bs-link-hover-color: #1e40af;
    --bs-link-hover-color-rgb: 30, 64, 175;
    --bs-success-rgb: 5, 150, 105;
    --bs-danger-rgb: 225, 29, 72;
    --bs-warning-rgb: 217, 119, 6;
    --bs-info-rgb: 8, 145, 178;
    --bs-border-radius: .75rem;
    --bs-border-radius-sm: .5rem;
    --bs-border-radius-lg: 1rem;
    font-family: var(--bs-body-font-family);
    background-color: #f8fafc;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ----- Largura do conteúdo igual à dashboard ----- */
body.layout-novo > main,
body.layout-novo > .container,
body.layout-novo > .container-fluid {
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px) {
    body.layout-novo > main, body.layout-novo > .container, body.layout-novo > .container-fluid { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
    body.layout-novo > main, body.layout-novo > .container, body.layout-novo > .container-fluid { padding-left: 2rem; padding-right: 2rem; }
}

/* ----- Títulos ----- */
body.layout-novo h1, body.layout-novo h2, body.layout-novo h3,
body.layout-novo h4, body.layout-novo h5, body.layout-novo h6 {
    color: #0f172a;
    letter-spacing: -0.01em;
}
body.layout-novo > main h2:first-child,
body.layout-novo > .container h2:first-child,
body.layout-novo > .container-fluid h2:first-child,
body.layout-novo main > h2,
body.layout-novo main > div > h2 {
    font-size: 1.5rem;
    font-weight: 700;
}
body.layout-novo h2 > .bi:first-child { color: #2563eb; margin-right: .25rem; }
body.layout-novo .text-muted { color: #64748b !important; }

/* ----- Cards ----- */
body.layout-novo .card {
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 1rem;
    box-shadow: 0 1px 2px 0 rgba(15, 23, 42, .05);
    background: #fff;
}
body.layout-novo .card.shadow, body.layout-novo .card.shadow-sm { box-shadow: 0 1px 2px 0 rgba(15, 23, 42, .05) !important; }
body.layout-novo .card-header {
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    padding: 1rem 1.5rem;
    font-weight: 700;
    color: #0f172a;
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;
}
body.layout-novo .card-header.bg-primary,
body.layout-novo .card-header.bg-dark,
body.layout-novo .card-header.bg-secondary,
body.layout-novo .card-header.bg-success,
body.layout-novo .card-header.bg-danger,
body.layout-novo .card-header.bg-info,
body.layout-novo .card-header.bg-warning {
    background: #fff !important;
    color: #0f172a !important;
}
body.layout-novo .card-body { padding: 1.25rem; }
body.layout-novo .card-footer { background: #f8fafc; border-top: 1px solid #f1f5f9; }
/* Cards com borda colorida (indicadores) viram faixa no topo, como na dashboard */
body.layout-novo .card.border-primary { border-color: rgba(226,232,240,.9) !important; border-top: 4px solid #2563eb !important; }
body.layout-novo .card.border-success { border-color: rgba(226,232,240,.9) !important; border-top: 4px solid #10b981 !important; }
body.layout-novo .card.border-danger  { border-color: rgba(226,232,240,.9) !important; border-top: 4px solid #f43f5e !important; }
body.layout-novo .card.border-warning { border-color: rgba(226,232,240,.9) !important; border-top: 4px solid #f59e0b !important; }
body.layout-novo .card.border-info    { border-color: rgba(226,232,240,.9) !important; border-top: 4px solid #06b6d4 !important; }
body.layout-novo .card.border-secondary { border-color: rgba(226,232,240,.9) !important; border-top: 4px solid #64748b !important; }

/* ----- Botões ----- */
body.layout-novo .btn {
    --bs-btn-font-weight: 500;
    --bs-btn-border-radius: .75rem;
    --bs-btn-font-size: .875rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-padding-y: .55rem;
    transition: background-color .15s, border-color .15s, box-shadow .15s, color .15s;
}
body.layout-novo .btn-sm { --bs-btn-border-radius: .5rem; --bs-btn-padding-x: .7rem; --bs-btn-padding-y: .3rem; --bs-btn-font-size: .8125rem; }
body.layout-novo .btn-lg { --bs-btn-border-radius: .9rem; }
body.layout-novo .btn-primary {
    --bs-btn-bg: #2563eb; --bs-btn-border-color: #2563eb;
    --bs-btn-hover-bg: #1d4ed8; --bs-btn-hover-border-color: #1d4ed8;
    --bs-btn-active-bg: #1e40af; --bs-btn-active-border-color: #1e40af;
    --bs-btn-disabled-bg: #93c5fd; --bs-btn-disabled-border-color: #93c5fd;
    --bs-btn-focus-shadow-rgb: 59, 130, 246;
    box-shadow: 0 1px 2px 0 rgba(37, 99, 235, .2);
}
body.layout-novo .btn-secondary {
    --bs-btn-color: #334155; --bs-btn-bg: #f1f5f9; --bs-btn-border-color: #f1f5f9;
    --bs-btn-hover-color: #0f172a; --bs-btn-hover-bg: #e2e8f0; --bs-btn-hover-border-color: #e2e8f0;
    --bs-btn-active-color: #0f172a; --bs-btn-active-bg: #cbd5e1; --bs-btn-active-border-color: #cbd5e1;
    --bs-btn-disabled-color: #94a3b8; --bs-btn-disabled-bg: #f1f5f9; --bs-btn-disabled-border-color: #f1f5f9;
}
body.layout-novo .btn-success {
    --bs-btn-bg: #059669; --bs-btn-border-color: #059669;
    --bs-btn-hover-bg: #047857; --bs-btn-hover-border-color: #047857;
    --bs-btn-active-bg: #065f46; --bs-btn-active-border-color: #065f46;
}
body.layout-novo .btn-danger {
    --bs-btn-bg: #e11d48; --bs-btn-border-color: #e11d48;
    --bs-btn-hover-bg: #be123c; --bs-btn-hover-border-color: #be123c;
    --bs-btn-active-bg: #9f1239; --bs-btn-active-border-color: #9f1239;
}
body.layout-novo .btn-warning {
    --bs-btn-color: #78350f; --bs-btn-bg: #fef3c7; --bs-btn-border-color: #fde68a;
    --bs-btn-hover-color: #78350f; --bs-btn-hover-bg: #fde68a; --bs-btn-hover-border-color: #fcd34d;
    --bs-btn-active-color: #78350f; --bs-btn-active-bg: #fcd34d; --bs-btn-active-border-color: #fcd34d;
}
body.layout-novo .btn-info {
    --bs-btn-color: #fff; --bs-btn-bg: #0891b2; --bs-btn-border-color: #0891b2;
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #0e7490; --bs-btn-hover-border-color: #0e7490;
}
body.layout-novo .btn-light {
    --bs-btn-bg: #fff; --bs-btn-border-color: #e2e8f0; --bs-btn-color: #334155;
    --bs-btn-hover-bg: #f8fafc; --bs-btn-hover-border-color: #cbd5e1;
}
body.layout-novo .btn-dark {
    --bs-btn-bg: #0f172a; --bs-btn-border-color: #0f172a;
    --bs-btn-hover-bg: #1e293b; --bs-btn-hover-border-color: #1e293b;
}
body.layout-novo .btn-outline-primary {
    --bs-btn-color: #1d4ed8; --bs-btn-border-color: #bfdbfe; --bs-btn-bg: #eff6ff;
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #2563eb; --bs-btn-hover-border-color: #2563eb;
    --bs-btn-active-bg: #1d4ed8; --bs-btn-active-border-color: #1d4ed8;
}
body.layout-novo .btn-outline-secondary {
    --bs-btn-color: #334155; --bs-btn-border-color: #e2e8f0; --bs-btn-bg: #fff;
    --bs-btn-hover-color: #0f172a; --bs-btn-hover-bg: #f1f5f9; --bs-btn-hover-border-color: #cbd5e1;
    --bs-btn-active-color: #0f172a; --bs-btn-active-bg: #e2e8f0; --bs-btn-active-border-color: #cbd5e1;
}
body.layout-novo .btn-outline-success {
    --bs-btn-color: #047857; --bs-btn-border-color: #a7f3d0; --bs-btn-bg: #ecfdf5;
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #059669; --bs-btn-hover-border-color: #059669;
}
body.layout-novo .btn-outline-danger {
    --bs-btn-color: #be123c; --bs-btn-border-color: #fecdd3; --bs-btn-bg: #fff1f2;
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #e11d48; --bs-btn-hover-border-color: #e11d48;
}
body.layout-novo .btn-outline-warning {
    --bs-btn-color: #b45309; --bs-btn-border-color: #fde68a; --bs-btn-bg: #fffbeb;
    --bs-btn-hover-color: #78350f; --bs-btn-hover-bg: #fde68a; --bs-btn-hover-border-color: #fcd34d;
}
body.layout-novo .btn-outline-info {
    --bs-btn-color: #0e7490; --bs-btn-border-color: #a5f3fc; --bs-btn-bg: #ecfeff;
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #0891b2; --bs-btn-hover-border-color: #0891b2;
}
body.layout-novo .btn-outline-dark {
    --bs-btn-color: #0f172a; --bs-btn-border-color: #cbd5e1; --bs-btn-bg: #fff;
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #0f172a; --bs-btn-hover-border-color: #0f172a;
}
body.layout-novo .btn-link { --bs-btn-color: #1d4ed8; --bs-btn-hover-color: #1e40af; text-decoration: none; }

/* ----- Formulários ----- */
body.layout-novo .form-label {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #64748b;
    margin-bottom: .375rem;
}
body.layout-novo .form-control,
body.layout-novo .form-select {
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    background-color: rgba(248, 250, 252, .5);
    color: #0f172a;
    font-size: .875rem;
    padding: .6rem .875rem;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}
body.layout-novo .form-select { padding-right: 2.25rem; }
body.layout-novo .form-control-sm, body.layout-novo .form-select-sm { padding: .35rem .65rem; border-radius: .5rem; font-size: .8125rem; }
body.layout-novo .form-control:hover, body.layout-novo .form-select:hover { background-color: #fff; }
body.layout-novo .form-control:focus,
body.layout-novo .form-select:focus {
    background-color: #fff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .2);
}
body.layout-novo .form-control:disabled, body.layout-novo .form-control[readonly],
body.layout-novo .form-select:disabled { background-color: #f1f5f9; color: #64748b; }
body.layout-novo .form-check-input { border-color: #cbd5e1; }
body.layout-novo .form-check-input:checked { background-color: #2563eb; border-color: #2563eb; }
body.layout-novo .form-check-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, .2); }
body.layout-novo .form-text { color: #94a3b8; font-size: .75rem; }
body.layout-novo .input-group-text {
    background: #f8fafc; border-color: #e2e8f0; color: #64748b; font-size: .875rem; border-radius: .75rem;
}
body.layout-novo .input-group > .form-control,
body.layout-novo .input-group > .form-select,
body.layout-novo .input-group > .input-group-text,
body.layout-novo .input-group > .btn { border-radius: .75rem; }
body.layout-novo .input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
body.layout-novo .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) { border-top-left-radius: 0; border-bottom-left-radius: 0; }

/* ----- Tabelas ----- */
body.layout-novo .table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: #f8fafc;
    --bs-table-hover-bg: rgba(248, 250, 252, .9);
    --bs-table-border-color: #f1f5f9;
    font-size: .875rem;
    color: #334155;
    margin-bottom: 0;
}
body.layout-novo .table > thead > tr > th,
body.layout-novo .table > thead.table-dark > tr > th,
body.layout-novo .table > thead.table-light > tr > th,
body.layout-novo .table > thead.table-primary > tr > th,
body.layout-novo .table > thead.table-secondary > tr > th {
    background-color: #f8fafc !important;
    color: #64748b !important;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 1px solid #e2e8f0;
    padding: .75rem 1rem;
    white-space: nowrap;
}
body.layout-novo .table > tbody > tr > td,
body.layout-novo .table > tfoot > tr > td,
body.layout-novo .table > tfoot > tr > th { padding: .75rem 1rem; vertical-align: middle; }
body.layout-novo .table-bordered > :not(caption) > * > * { border-color: #f1f5f9; }
body.layout-novo .table-responsive { border-radius: 1rem; }
body.layout-novo .card > .table-responsive,
body.layout-novo .card > .card-body > .table-responsive:only-child { border-radius: 0 0 1rem 1rem; }

/* ----- Badges ----- */
body.layout-novo .badge { font-weight: 600; border-radius: 9999px; padding: .35em .7em; letter-spacing: .01em; }
body.layout-novo .badge.bg-success { background-color: #ecfdf5 !important; color: #047857 !important; border: 1px solid #a7f3d0; }
body.layout-novo .badge.bg-danger { background-color: #fff1f2 !important; color: #be123c !important; border: 1px solid #fecdd3; }
body.layout-novo .badge.bg-warning { background-color: #fffbeb !important; color: #b45309 !important; border: 1px solid #fde68a; }
body.layout-novo .badge.bg-info { background-color: #ecfeff !important; color: #0e7490 !important; border: 1px solid #a5f3fc; }
body.layout-novo .badge.bg-primary { background-color: #eff6ff !important; color: #1d4ed8 !important; border: 1px solid #bfdbfe; }
body.layout-novo .badge.bg-secondary { background-color: #f1f5f9 !important; color: #475569 !important; border: 1px solid #e2e8f0; }
body.layout-novo .badge.bg-dark { background-color: #0f172a !important; color: #fff !important; }

/* ----- Alertas ----- */
body.layout-novo .alert { border-radius: .75rem; font-size: .875rem; border-width: 1px; }
body.layout-novo .alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
body.layout-novo .alert-danger { background: #fff1f2; border-color: #fecdd3; color: #9f1239; }
body.layout-novo .alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
body.layout-novo .alert-info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
body.layout-novo .alert-secondary { background: #f8fafc; border-color: #e2e8f0; color: #334155; }

/* ----- Modais, dropdowns, abas, paginação ----- */
body.layout-novo .modal-content { border: 1px solid #e2e8f0; border-radius: 1rem; box-shadow: 0 20px 40px -12px rgba(15, 23, 42, .25); }
body.layout-novo .modal-header { border-bottom: 1px solid #f1f5f9; padding: 1rem 1.5rem; }
body.layout-novo .modal-header.bg-primary, body.layout-novo .modal-header.bg-danger,
body.layout-novo .modal-header.bg-success, body.layout-novo .modal-header.bg-dark,
body.layout-novo .modal-header.bg-warning, body.layout-novo .modal-header.bg-info { background: #fff !important; color: #0f172a !important; }
body.layout-novo .modal-header .btn-close-white { filter: none; }
body.layout-novo .modal-title { font-weight: 700; font-size: 1rem; }
body.layout-novo .modal-body { padding: 1.25rem 1.5rem; }
body.layout-novo .modal-footer { border-top: 1px solid #f1f5f9; background: #f8fafc; border-radius: 0 0 1rem 1rem; }
body.layout-novo .dropdown-menu { border: 1px solid #e2e8f0; border-radius: .75rem; box-shadow: 0 10px 25px -10px rgba(15, 23, 42, .2); padding: .375rem; font-size: .875rem; }
body.layout-novo .dropdown-item { border-radius: .5rem; padding: .5rem .75rem; color: #334155; }
body.layout-novo .dropdown-item:hover, body.layout-novo .dropdown-item:focus { background: #f1f5f9; color: #0f172a; }
body.layout-novo .dropdown-item.active, body.layout-novo .dropdown-item:active { background: #eff6ff; color: #1d4ed8; }
body.layout-novo .nav-tabs { border-bottom-color: #e2e8f0; }
body.layout-novo .nav-tabs .nav-link { color: #64748b; font-weight: 500; border: 0; border-bottom: 2px solid transparent; }
body.layout-novo .nav-tabs .nav-link:hover { color: #0f172a; }
body.layout-novo .nav-tabs .nav-link.active { color: #1d4ed8; background: transparent; border-bottom-color: #2563eb; font-weight: 600; }
body.layout-novo .nav-pills .nav-link { border-radius: .5rem; color: #475569; }
body.layout-novo .nav-pills .nav-link.active { background: #eff6ff; color: #1d4ed8; font-weight: 600; }
body.layout-novo .page-link { color: #334155; border-color: #e2e8f0; font-size: .875rem; }
body.layout-novo .page-item.active .page-link { background: #2563eb; border-color: #2563eb; color: #fff; }
body.layout-novo .page-item:first-child .page-link { border-top-left-radius: .5rem; border-bottom-left-radius: .5rem; }
body.layout-novo .page-item:last-child .page-link { border-top-right-radius: .5rem; border-bottom-right-radius: .5rem; }
body.layout-novo .list-group-item { border-color: #f1f5f9; }
body.layout-novo .list-group { border-radius: .75rem; }

/* ----- Cores de texto do Bootstrap alinhadas à paleta ----- */
body.layout-novo .text-primary { color: #2563eb !important; }
body.layout-novo .text-success { color: #059669 !important; }
body.layout-novo .text-danger { color: #e11d48 !important; }
body.layout-novo .text-warning { color: #d97706 !important; }
body.layout-novo .text-info { color: #0891b2 !important; }
body.layout-novo .text-secondary { color: #475569 !important; }
body.layout-novo .bg-light { background-color: #f8fafc !important; }

/* Menu antigo (sistema.css) não se aplica mais. */
body.layout-novo .navbar { height: auto; }

/* ----- Ajustes de fundos próprios de algumas telas ----- */
body.layout-novo { background: #f8fafc !important; }
body.layout-novo > .container-fluid[style*="background"] { background-color: transparent !important; min-height: 0 !important; }
body.layout-novo [class*="-form-card"] > .card-body { background-color: #fff !important; border-radius: 0 0 1rem 1rem; }
body.layout-novo [class*="-form-card"] .form-control,
body.layout-novo [class*="-form-card"] .form-select { background-color: rgba(248, 250, 252, .5); }
body.layout-novo [class*="-form-card"] .form-control:focus,
body.layout-novo [class*="-form-card"] .form-select:focus { background-color: #fff; }

/* ----- Telas de acesso (login, recuperar senha) ----- */
body.layout-novo .login-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background:
        radial-gradient(60rem 30rem at 50% -10%, rgba(37, 99, 235, .10), transparent 70%),
        #f8fafc;
}
body.layout-novo .login-header {
    width: 100%;
    max-width: 26rem;
    background: transparent;
    color: #0f172a;
    text-align: center;
    padding: 0 0 1.5rem;
    border-radius: 0;
}
body.layout-novo .login-header .logo {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    border-radius: 1rem;
    background: linear-gradient(to top right, #1d4ed8, #3b82f6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 20px -6px rgba(37, 99, 235, .45);
}
body.layout-novo .login-header h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
    text-transform: none;
    margin-bottom: .25rem;
}
body.layout-novo .login-header p {
    font-size: .75rem;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: .02em;
    text-transform: none;
}
body.layout-novo .login-box {
    width: 100%;
    max-width: 26rem;
    background: #fff;
    padding: 2rem 1.75rem;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 1rem;
    box-shadow: 0 10px 30px -12px rgba(15, 23, 42, .12);
}
body.layout-novo .login-box h2 { text-align: center; font-size: 1.4rem; font-weight: 700; color: #0f172a; margin-bottom: .25rem; }
body.layout-novo .login-subtitle { text-align: center; color: #64748b; font-size: .875rem; margin-bottom: 1.75rem; }
body.layout-novo .forgot-password { color: #1d4ed8; font-size: .8125rem; font-weight: 500; text-decoration: none; }
body.layout-novo .forgot-password:hover { color: #1e40af; text-decoration: underline; }
body.layout-novo .btn-login {
    width: 100%;
    background: #2563eb;
    border: 1px solid #2563eb;
    color: #fff;
    padding: .7rem;
    font-weight: 600;
    font-size: .875rem;
    letter-spacing: .02em;
    border-radius: .75rem;
    box-shadow: 0 1px 2px 0 rgba(37, 99, 235, .25);
}
body.layout-novo .btn-login:hover { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
body.layout-novo .btn-login:active { background: #1e40af; }
body.layout-novo .login-footer { text-align: center; color: #94a3b8; font-size: .75rem; margin: 1.5rem 0 0; }
body.layout-novo .password-wrapper { position: relative; }
body.layout-novo .password-wrapper .form-control { padding-right: 2.75rem; }
body.layout-novo .toggle-password {
    position: absolute;
    top: 50%;
    right: .5rem;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: .5rem;
    background: transparent;
    color: #94a3b8;
    padding: 0;
}
body.layout-novo .toggle-password:hover { color: #334155; background: #f1f5f9; }

/* ----- Impressão: menu e rodapé não saem no papel ----- */
@media print {
    .tw-scope { display: none !important; }
    body.layout-novo { background: #fff !important; }
}

/* Cards montados sem .card-body (algumas telas antigas) ganham espaçamento interno. */
body.layout-novo .card:not(:has(> .card-body, > .card-header, > .card-footer, > .table-responsive, > .list-group, > .table, > img, > form > .card-body)) {
    padding: 1.5rem;
}
