
        * { box-sizing: border-box; }
        body {
            font-family: 'Inter', sans-serif;
            background: #ECEFF3;
            color: #1B2550;
            margin: 0;
        }

        .layout-app {
            display: flex;
            min-height: 100vh;
        }

        /* ---------- Barra lateral ---------- */
        .sidebar {
            width: 220px;
            background: #1B2550;
            color: white;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            transition: width 0.2s ease;
            position: sticky;
            top: 0;
            height: 100vh;
            overflow-x: hidden;
        }
        .sidebar.recolhida { width: 64px; }

        .sidebar-topo {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 16px;
            border-bottom: 1px solid rgba(255,255,255,0.12);
            white-space: nowrap;
        }
        .logo-sidebar {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            font-size: 16px;
        }
        .logo-sidebar span { color: #1CA8D9; }
        .sidebar.recolhida .logo-sidebar { display: none; }

        .btn-toggle-sidebar {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            font-size: 18px;
            padding: 4px 6px;
            border-radius: 4px;
            flex-shrink: 0;
        }
        .btn-toggle-sidebar:hover { background: rgba(255,255,255,0.1); }

        .nav-sidebar {
            display: flex;
            flex-direction: column;
            padding: 12px 8px;
            gap: 2px;
        }
        .nav-sidebar a {
            color: white;
            text-decoration: none;
            padding: 10px 12px;
            border-radius: 6px;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 12px;
            white-space: nowrap;
            overflow: hidden;
        }
        .nav-sidebar a:hover { background: rgba(255,255,255,0.12); }
        .nav-sidebar .icone-nav { flex-shrink: 0; width: 18px; text-align: center; }
        .sidebar.recolhida .nav-sidebar .rotulo-nav { display: none; }

        .separador-nav {
            border-top: 1px solid rgba(255,255,255,0.12);
            margin: 8px 12px;
        }

        /* ---------- Notificações ---------- */
        .item-nav-notificacao { position: relative; }
        .badge-notif {
            background: #D9364A;
            color: white;
            font-size: 10px;
            font-weight: 700;
            border-radius: 10px;
            padding: 1px 6px;
            margin-left: auto;
            flex-shrink: 0;
        }
        .sidebar.recolhida .badge-notif {
            position: absolute;
            top: 4px;
            right: 4px;
            margin-left: 0;
        }

        .painel-notificacoes {
            display: none;
            position: absolute;
            left: 100%;
            top: 0;
            width: 320px;
            background: white;
            color: #1B2550;
            border-radius: 8px;
            box-shadow: 0 4px 24px rgba(0,0,0,0.18);
            padding: 14px;
            z-index: 60;
            max-height: 420px;
            overflow-y: auto;
        }
        .painel-notificacoes.aberto { display: block; }
        .titulo-grupo-notif { font-size: 11px; text-transform: uppercase; color: #5B6478; font-weight: 700; margin: 10px 0 6px 0; }
        .titulo-grupo-notif:first-child { margin-top: 0; }
        .dica-prazo { text-transform: none; font-weight: 400; font-size: 11px; color: #9BA3B4; }
        .cabecalho-painel-notif { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
        .btn-marcar-todas { background: none; border: none; color: #1CA8D9; width: auto; padding: 0; margin: 0; font-size: 11px; cursor: pointer; text-decoration: underline; }
        .btn-marcar-todas:hover { color: #10163A; background: none; }
        .icone-tipo-notif { margin-right: 6px; }
        .item-notificacao { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #ECEFF3; font-size: 13px; }
        .item-notificacao:last-child { border-bottom: none; }
        .item-notificacao a { color: #1B2550; text-decoration: none; flex: 1; display: flex; align-items: center; }
        .item-notificacao a:hover { color: #1CA8D9; }
        .btn-marcar-lida { background: none; border: 1px solid #D7DBE3; color: #5B6478; width: auto; padding: 2px 8px; margin: 0; font-size: 12px; border-radius: 4px; }
        .btn-marcar-lida:hover { background: #ECEFF3; }
        .vazio-notif { font-size: 13px; color: #5B6478; padding: 4px 0; }

        /* ---------- Toast de notificação nova ---------- */
        .toast-notificacao {
            display: none;
            align-items: center;
            gap: 10px;
            position: fixed;
            bottom: 24px;
            right: 24px;
            background: #1B2550;
            color: white;
            padding: 14px 18px;
            border-radius: 8px;
            box-shadow: 0 6px 24px rgba(0,0,0,0.25);
            font-size: 14px;
            cursor: pointer;
            z-index: 100;
            max-width: 320px;
            animation: entrar-toast 0.25s ease;
        }
        .toast-notificacao.visivel { display: flex; }
        .toast-notificacao:hover { background: #10163A; }
        @keyframes entrar-toast {
            from { transform: translateY(16px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        /* ---------- Conteúdo principal ---------- */
        .conteudo-principal {
            flex: 1;
            padding: 32px;
            min-width: 0;
        }
        .card {
            background: white;
            border-radius: 10px;
            padding: 24px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.06);
            max-width: 1100px;
            margin: 0 auto;
        }

        input, select, button, textarea {
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            padding: 9px 12px;
            border: 1px solid #D7DBE3;
            border-radius: 6px;
            width: 100%;
            box-sizing: border-box;
            margin-bottom: 12px;
        }
        button {
            background: #1B2550;
            color: white;
            border: none;
            cursor: pointer;
            width: auto;
            padding: 9px 20px;
            font-weight: 600;
        }
        button:hover { background: #10163A; }
        label {
            font-size: 12px;
            font-weight: 600;
            color: #5B6478;
            text-transform: uppercase;
        }
    