@media screen and (max-width: 768px) {
    .filtros-40{
        width: 40% !important;  
    }
    .menu_user{
        left: 50% !important;
        width: 50% !important;
    }
    select, input{
       min-width: 80% !important;
    }
    .navbar{
        max-height: 60px;
    }
    .filtros{
        min-width: 30%;
    }

}
.opacity{
    opacity: 0;
}
.mensagem{
    font-size: 1.1rem;
    color: red;
    display: none;
    margin: 1%;
}

*{
    font-family: "Inter", "Aptos", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}
#sidebar a{
    font-weight: 600;
}
body, html{
    background-color: #F5F5F5;
    height: 100%;
    
}

body.theme-dark {
    background: linear-gradient(135deg, #020617 0%, #0f172a 45%, #111827 100%);
    color: #f8fafc;
}

body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark h4,
body.theme-dark h5,
body.theme-dark h6,
body.theme-dark label,
body.theme-dark p,
body.theme-dark .text-dark,
body.theme-dark .text-black {
    color: #f8fafc !important;
}

body.theme-dark .bg-white,
body.theme-dark .bg-light,
body.theme-dark .navbar,
body.theme-dark .container-site,
body.theme-dark .menu_user,
body.theme-dark .card,
body.theme-dark .panel-soft,
body.theme-dark .modal-content,
body.theme-dark .alert,
body.theme-dark .list-group-item {
    background-color: #111827 !important;
    color: #f8fafc !important;
    border-color: rgba(255,255,255,0.12) !important;
}

/* Modern module select style for top-right selector */
#select_modulo {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'><path d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding: 6px 36px 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16,24,40,0.04);
    font-size: 0.9rem;
    color: #111827;
    transition: box-shadow .12s ease, border-color .12s ease, transform .06s ease;
    cursor: pointer;
}

#select_modulo:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 6px 20px rgba(124,58,237,0.12);
}

/* slightly smaller on very small screens */
@media (max-width: 480px) {
    #select_modulo { width: 120px; font-size: 0.85rem; padding: 6px 34px 6px 8px; }
}

/* module selector wrapper */
.module-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

/* module button and modal cards */
.module-btn {
    background: linear-gradient(180deg,#fff,#f8fafc);
    border: 1px solid rgba(15,23,42,0.08);
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 600;
    color: #0f172a;
    box-shadow: 0 6px 18px rgba(16,24,40,0.04);
}
.module-btn:focus { box-shadow: 0 8px 26px rgba(124,58,237,0.12); outline: none; }
.module-card {
    width: 140px;
    height: 110px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(15,23,42,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.module-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(16,24,40,0.08); border-color: rgba(15,23,42,0.12); }
.module-card.active {
    border-color: #5b21b6;
    box-shadow: 0 12px 30px rgba(91,33,182,0.15);
}
.module-card.active .module-name {
    color: #5b21b6;
}
.module-card .module-icon { font-size: 28px; }
.module-card .module-name { font-weight: 700; color: #111827; font-size: 0.95rem; }

/* Ensure modal and backdrop are above app overlays */
.modal {
  z-index: 21000 !important;
}
.modal-backdrop {
  z-index: 20990 !important;
}
body.theme-dark .form-control,
body.theme-dark .form-select,
body.theme-dark textarea,
body.theme-dark input,
body.theme-dark select {
    background-color: #0f172a !important;
    color: #f8fafc !important;
    border: 1px solid rgba(255,255,255,0.16) !important;
}

body.theme-dark .form-control::placeholder,
body.theme-dark textarea::placeholder {
    color: #94a3b8 !important;
}

body.theme-dark .table {
    color: #f8fafc;
}

body.theme-dark .table thead th {
    background-color: #1f2937;
    color: #f8fafc;
    border-color: rgba(255,255,255,0.12);
}

body.theme-dark .table td,
body.theme-dark .table th {
    border-color: rgba(255,255,255,0.12);
}

body.theme-dark .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(255,255,255,0.04);
}

body.theme-dark .btn-outline-secondary {
    color: #f8fafc;
    border-color: rgba(255,255,255,0.25);
}

body.theme-dark .btn-outline-secondary:hover {
    background-color: #1f2937;
    color: #f8fafc;
}

body.theme-dark .btn-outline-primary {
    color: #c7d2fe;
    border-color: rgba(99, 102, 241, 0.5);
}

body.theme-dark .btn-outline-primary:hover,
body.theme-dark .btn-outline-primary:focus {
    background-color: rgba(99, 102, 241, 0.18);
    color: #f8fafc;
}

body.theme-dark .badge.bg-primary-subtle {
    background-color: rgba(99, 102, 241, 0.14) !important;
    color: #c7d2fe !important;
}

body.theme-dark .text-muted {
    color: #94a3b8 !important;
}

body.theme-dark .progress {
    background-color: rgba(255, 255, 255, 0.08);
}

body.theme-dark .progress-bar {
    background-color: #6366f1;
}

body.theme-dark .card-body {
    background-color: transparent;
}

body.theme-dark .module-btn {
    background: #1f2937;
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .module-card {
    background: #1f2937;
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .module-card:hover {
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
}

body.theme-dark .module-card .module-name {
    color: #f8fafc;
}

.compras-page .card {
    border-color: rgba(13, 148, 136, 0.22);
    box-shadow: 0 20px 45px rgba(15, 118, 110, 0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.compras-page .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 65px rgba(15, 118, 110, 0.16);
}

body.theme-dark.compras-page .card,
.compras-page .card {
    background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
    border-color: rgba(13, 148, 136, 0.28);
    box-shadow: 0 22px 52px rgba(15, 118, 110, 0.14);
}

body.theme-dark.compras-page .card .card-body,
.compras-page .card .card-body {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(13, 148, 136, 0.12);
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.08);
    border-radius: 18px;
}

.compras-page > .row:first-child h2 {
    color: #115e59;
}

.compras-page .card .h3,
.compras-page .card .h4 {
    color: #0f766e;
}

.compras-page .card .border.rounded {
    border-color: rgba(13, 148, 136, 0.20) !important;
    background: rgba(240, 253, 250, 0.72);
}

.compras-page .progress {
    background-color: #ccfbf1;
}

.compras-page .progress-bar {
    background-color: #0d9488 !important;
}

.compras-page .table thead th {
    color: #115e59;
    background-color: #f0fdfa;
    border-bottom-color: #99f6e4;
}

.compras-page .btn-outline-primary {
    color: #0f766e;
    border-color: #0d9488;
}

.compras-page .btn-outline-primary:hover,
.compras-page .btn-outline-primary:focus {
    color: #ffffff;
    background-color: #0f766e;
    border-color: #0f766e;
}

body.theme-dark.compras-page .card,
body.theme-dark.compras-page .card .card-body {
    background: linear-gradient(180deg, #102a2a 0%, #102322 100%);
    border-color: rgba(45, 212, 191, 0.24);
    box-shadow: 0 22px 52px rgba(2, 44, 44, 0.28);
}

body.theme-dark .compras-page > .row:first-child h2,
body.theme-dark .compras-page .card .h3,
body.theme-dark .compras-page .card .h4 {
    color: #5eead4 !important;
}

body.theme-dark .compras-page .card .border.rounded {
    border-color: rgba(45, 212, 191, 0.22) !important;
    background: rgba(13, 78, 74, 0.36);
}

body.theme-dark .compras-page .progress {
    background-color: rgba(45, 212, 191, 0.14);
}

body.theme-dark .compras-page .progress-bar {
    background-color: #2dd4bf !important;
}

body.theme-dark .compras-page .table thead th {
    color: #99f6e4;
    background-color: rgba(13, 78, 74, 0.42);
    border-bottom-color: rgba(45, 212, 191, 0.28);
}

body.theme-dark .compras-page .btn-outline-primary {
    color: #5eead4;
    border-color: rgba(45, 212, 191, 0.58);
}

body.theme-dark .compras-page .btn-outline-primary:hover,
body.theme-dark .compras-page .btn-outline-primary:focus {
    color: #042f2e;
    background-color: #5eead4;
    border-color: #5eead4;
}

body.theme-dark .compras-page .card .card-body h5,
body.theme-dark .compras-page .card .card-body .h3,
body.theme-dark .compras-page .card .card-body .text-muted {
    color: #e2e8f0 !important;
}

body.theme-dark .compras-page .card .card-body .h3 {
    color: #c7d2fe !important;
}

body.theme-dark .badge,
body.theme-dark .btn {
    color: #f8fafc;
}

body.theme-dark .pagination .page-link {
    background-color: #111827;
    color: #f8fafc;
    border-color: rgba(255,255,255,0.12);
}

body.theme-dark .pagination .page-item.active .page-link {
    background-color: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

h4{
    color: black;
}

#icon_user{
    cursor: pointer;
}
.menu_user:hover{
    display: block !important;
}
.menu_user{
    display: none;
    position: absolute;
    min-width: 220px;
    width: auto;
    right: 1.25rem;
    top: 4.25rem;
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    z-index: 9999;
    overflow: hidden;
}
.menus-dropdown{
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.95rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    color: #0f172a;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.menus-dropdown:last-child {
    border-bottom: none;
}
.menus-dropdown:hover{
    background-color: #f8fafc;
}
.nome_user{
    font-size: 0.95rem;
    font-weight: 700;
    text-align: left;
    padding: 1rem 1rem 0.75rem;
    color: #111827;
    background-color: #f8fafc;
}
.menus-dropdown svg{
    margin-right: 0.75rem;
    min-width: 20px;
    min-height: 20px;
}

body.theme-dark .menu_user {
    background-color: #111827 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.35);
}
body.theme-dark .menus-dropdown {
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.08);
}
body.theme-dark .menus-dropdown:hover {
    background-color: rgba(255, 255, 255, 0.08);
}
body.theme-dark .nome_user {
    background-color: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
}

.cadastros-dashboard {
    color: #183b45;
    background: radial-gradient(circle at 90% 0%, rgba(45, 212, 191, .12), transparent 28rem);
}
.cadastros-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem 2.2rem;
    color: #fff;
    background: linear-gradient(120deg, #0f4c5c 0%, #0f766e 58%, #168aad 100%);
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(15, 76, 92, .18);
}
.cadastros-kicker, .panel-eyebrow { display: block; color: #63e6d8; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cadastros-hero h1 { margin: .35rem 0 .3rem; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 800; }
.cadastros-hero p { margin: 0; color: rgba(255, 255, 255, .78); }
.cadastros-hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.cadastros-filter { display: flex; align-items: center; gap: .65rem; padding: .75rem; background: #fff; border: 1px solid #dbe9e9; border-radius: 13px; box-shadow: 0 8px 22px rgba(24, 59, 69, .06); }
.cadastros-search { position: relative; min-width: 220px; }
.cadastros-search i { position: absolute; top: 50%; left: .85rem; color: #6c858b; transform: translateY(-50%); }
.cadastros-search input { width: 100%; padding: .65rem .8rem .65rem 2.35rem; border: 1px solid #d6e4e5; border-radius: 8px; color: #183b45; }
.cadastros-filter .form-select { width: auto; min-width: 145px; border-color: #d6e4e5; }
.cadastro-metric { position: relative; min-height: 145px; padding: 1.2rem 1.25rem; overflow: hidden; border: 1px solid transparent; border-radius: 14px; box-shadow: 0 10px 24px rgba(24, 59, 69, .08); }
.cadastro-metric::after { position: absolute; right: -1.3rem; bottom: -2.3rem; width: 7rem; height: 7rem; content: ''; border: 1.2rem solid rgba(255, 255, 255, .18); border-radius: 50%; }
.cadastro-metric .metric-icon { display: flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; margin-bottom: .85rem; color: #fff; background: rgba(255, 255, 255, .2); border-radius: 9px; }
.cadastro-metric .metric-label, .cadastro-metric strong, .cadastro-metric small { display: block; }
.cadastro-metric .metric-label { color: rgba(255, 255, 255, .78); font-size: .82rem; }
.cadastro-metric strong { margin: .12rem 0; color: #fff; font-size: 1.9rem; line-height: 1.1; }
.cadastro-metric small { color: rgba(255, 255, 255, .72); font-size: .72rem; }
.metric-teal { background: linear-gradient(140deg, #0f766e, #129486); }
.metric-blue { background: linear-gradient(140deg, #2563eb, #168aad); }
.metric-amber { background: linear-gradient(140deg, #b45309, #d97706); }
.metric-coral { background: linear-gradient(140deg, #be4b49, #e05252); }
.dashboard-panel { padding: 1.3rem; background: rgba(255, 255, 255, .92); border: 1px solid #dbe9e9; border-radius: 14px; box-shadow: 0 10px 25px rgba(24, 59, 69, .06); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.panel-heading h2 { margin: .2rem 0 0; color: #183b45; font-size: 1.05rem; font-weight: 800; }
.panel-badge { padding: .35rem .55rem; color: #0f766e; background: #e6fffa; border-radius: 6px; font-size: .72rem; font-weight: 700; }
.panel-heading-icon { color: #0f766e; font-size: 1.3rem; }
.chart-wrap { position: relative; min-height: 220px; }
.chart-tall { height: 270px; }
.chart-medium { height: 245px; }
.profile-legend { display: grid; gap: .45rem; margin-top: .4rem; font-size: .78rem; }
.profile-legend span { display: flex; align-items: center; gap: .45rem; }
.profile-legend b { margin-left: auto; }
.legend-dot { width: .55rem; height: .55rem; border-radius: 50%; }
.dot-blue { background: #2563eb; }.dot-amber { background: #d97706; }.dot-teal { background: #0f766e; }
.ecosystem-grid { margin-top: .25rem; }
.ecosystem-item { display: flex; flex-direction: column; min-height: 112px; padding: .8rem; color: #183b45; text-decoration: none; background: #f6fbfb; border: 1px solid #deeeee; border-radius: 10px; transition: .18s ease; }
.ecosystem-item:hover { color: #0f766e; border-color: #7dd3c7; transform: translateY(-2px); }
.ecosystem-item i { margin-bottom: .4rem; color: #0f766e; font-size: 1.15rem; }.ecosystem-item span { font-size: .75rem; }.ecosystem-item strong { margin-top: .15rem; font-size: 1.25rem; }.ecosystem-item small { color: #70878c; font-size: .68rem; }
.cadastro-table { margin: 0; font-size: .82rem; }.cadastro-table th { color: #6c858b; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-bottom-color: #cfe3e3; }.cadastro-table td { border-bottom-color: #edf3f3; }.cadastro-table td strong, .cadastro-table td small { display: block; }.cadastro-table td small { margin-top: .18rem; color: #83979b; font-size: .7rem; }
.profile-tag { display: inline-block; padding: .24rem .45rem; border-radius: 5px; font-size: .68rem; font-weight: 800; }.tag-blue { color: #1d4ed8; background: #dbeafe; }.tag-amber { color: #9a3412; background: #ffedd5; }.tag-teal { color: #0f766e; background: #ccfbf1; }
.insights-list { display: grid; gap: .7rem; }.insight-item { display: flex; gap: .65rem; padding: .7rem; color: #41616a; background: #f5fbfa; border-left: 3px solid #14b8a6; border-radius: 7px; font-size: .79rem; line-height: 1.45; }.insight-item i { flex: 0 0 auto; color: #d97706; }.insight-loading { color: #83979b; font-size: .8rem; }
.data-quality { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid #e4eeee; }.data-quality > div:first-child { display: flex; justify-content: space-between; color: #41616a; font-size: .78rem; }.data-quality strong { color: #0f766e; }.quality-track { height: 7px; margin: .5rem 0 .35rem; overflow: hidden; background: #dcefee; border-radius: 99px; }.quality-track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #d97706, #0f766e); border-radius: inherit; transition: width .5s ease; }.data-quality small { color: #83979b; font-size: .68rem; }
body.theme-dark .cadastros-dashboard { color: #d9f5f0; background: radial-gradient(circle at 90% 0%, rgba(45, 212, 191, .12), transparent 28rem); }.theme-dark .cadastros-filter, .theme-dark .dashboard-panel { background: #102a2a; border-color: rgba(94, 234, 212, .16); }.theme-dark .cadastros-search input, .theme-dark .cadastros-filter .form-select { color: #e2f7f4; background: #0b2022; border-color: rgba(94, 234, 212, .25); }.theme-dark .cadastros-search input::placeholder { color: #86a9aa; }.theme-dark .panel-heading h2, .theme-dark .ecosystem-item, .theme-dark .cadastro-table td { color: #d9f5f0; }.theme-dark .ecosystem-item { background: rgba(13, 78, 74, .3); border-color: rgba(94, 234, 212, .16); }.theme-dark .ecosystem-item small, .theme-dark .cadastro-table td small, .theme-dark .data-quality small { color: #90b3b3; }.theme-dark .cadastro-table th { color: #9ac4c2; border-bottom-color: rgba(94, 234, 212, .2); }.theme-dark .cadastro-table td { border-bottom-color: rgba(94, 234, 212, .1); }.theme-dark .insight-item { color: #c6e4df; background: rgba(13, 78, 74, .3); }.theme-dark .data-quality { border-top-color: rgba(94, 234, 212, .16); }
@media (max-width: 900px) { .cadastros-hero, .cadastros-filter { align-items: stretch; flex-direction: column; }.cadastros-filter .form-select, .cadastros-filter .btn { width: 100%; }.cadastros-hero-actions .btn { flex: 1; }.cadastro-table { min-width: 670px; } }

.fiscal-command { color: #193d47; background: radial-gradient(circle at 95% 0, rgba(37, 99, 235, .10), transparent 30rem); }
.fiscal-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; padding: 2rem 2.2rem; color: #fff; background: linear-gradient(120deg, #123b58 0%, #176b78 60%, #2384a4 100%); border-radius: 18px; box-shadow: 0 18px 38px rgba(18, 59, 88, .18); }
.fiscal-kicker, .fiscal-eyebrow { display: block; color: #8ce9e1; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }.fiscal-hero h1 { margin: .35rem 0 .3rem; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 800; }.fiscal-hero p { margin: 0; color: rgba(255,255,255,.78); }.fiscal-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.fiscal-filter { display: flex; align-items: center; gap: .65rem; padding: .75rem; background: #fff; border: 1px solid #dce8ee; border-radius: 13px; box-shadow: 0 8px 22px rgba(25,61,71,.06); }.fiscal-filter-title { display: flex; align-items: center; gap: .45rem; padding: 0 .35rem; color: #176b78; font-weight: 800; font-size: .8rem; white-space: nowrap; }.fiscal-filter .form-select, .fiscal-filter .form-control { width: auto; min-width: 135px; border-color: #d5e3e8; }.fiscal-filter .form-control { min-width: 180px; }
.fiscal-metric { position: relative; min-height: 145px; padding: 1.2rem 1.25rem; overflow: hidden; color: #fff; border-radius: 14px; box-shadow: 0 10px 24px rgba(25,61,71,.08); }.fiscal-metric::after { position: absolute; right: -1.3rem; bottom: -2.3rem; width: 7rem; height: 7rem; content: ''; border: 1.2rem solid rgba(255,255,255,.18); border-radius: 50%; }.fiscal-metric-icon { display: flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; margin-bottom: .85rem; background: rgba(255,255,255,.2); border-radius: 9px; }.fiscal-metric span:not(.fiscal-metric-icon), .fiscal-metric strong, .fiscal-metric small { display: block; }.fiscal-metric span:not(.fiscal-metric-icon) { color: rgba(255,255,255,.78); font-size: .82rem; }.fiscal-metric strong { margin: .12rem 0; font-size: 1.55rem; line-height: 1.15; }.fiscal-metric small { color: rgba(255,255,255,.72); font-size: .72rem; }.fiscal-metric-teal { background: linear-gradient(140deg,#0f766e,#129486); }.fiscal-metric-blue { background: linear-gradient(140deg,#2563eb,#168aad); }.fiscal-metric-coral { background: linear-gradient(140deg,#be4b49,#e05252); }.fiscal-metric-amber { background: linear-gradient(140deg,#b45309,#d97706); }
.fiscal-panel { padding: 1.3rem; background: rgba(255,255,255,.94); border: 1px solid #dce8ee; border-radius: 14px; box-shadow: 0 10px 25px rgba(25,61,71,.06); }.fiscal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }.fiscal-heading h2 { margin: .2rem 0 0; color: #193d47; font-size: 1.05rem; font-weight: 800; }.fiscal-badge { padding: .35rem .55rem; color: #176b78; background: #e4f7f5; border-radius: 6px; font-size: .72rem; font-weight: 700; }.fiscal-heading-icon { color: #0f766e; font-size: 1.3rem; }.fiscal-chart { position: relative; min-height: 220px; }.fiscal-chart-tall { height: 275px; }.fiscal-chart-medium { height: 245px; }.fiscal-chart-donut { height: 175px; min-height: 175px; }.fiscal-result { padding: .75rem 1rem; background: #f2f8fc; border-left: 3px solid #2563eb; border-radius: 7px; }.fiscal-result span, .fiscal-result small { display: block; color: #6e858c; font-size: .75rem; }.fiscal-result strong { display: block; margin: .2rem 0; color: #176b78; font-size: 1.45rem; }.fiscal-legend { display: grid; gap: .45rem; font-size: .76rem; }.fiscal-legend span { display: flex; align-items: center; gap: .45rem; }.fiscal-legend b { margin-left: auto; }.fiscal-legend i { width: .55rem; height: .55rem; border-radius: 50%; }.dot-fiscal-blue { background: #2563eb; }.dot-fiscal-coral { background: #d95656; }
.fiscal-attention { margin-top: .1rem; }.attention-item { display: flex; flex-direction: column; min-height: 125px; padding: .75rem; color: #193d47; text-decoration: none; background: #f4f9fb; border: 1px solid #deebef; border-radius: 10px; transition: .18s ease; }.attention-item:hover { color: #176b78; border-color: #7bc7d0; transform: translateY(-2px); }.attention-item i { margin-bottom: .35rem; color: #176b78; font-size: 1.1rem; }.attention-item span { font-size: .72rem; }.attention-item strong { margin-top: .15rem; font-size: 1.3rem; }.attention-item small { color: #71888f; font-size: .65rem; }.attention-danger i { color: #d95656; }.fiscal-company { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid #e5eef1; }.fiscal-company > i { color: #176b78; font-size: 1.5rem; }.fiscal-company div { min-width: 0; flex: 1; }.fiscal-company strong, .fiscal-company small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.fiscal-company strong { font-size: .82rem; }.fiscal-company small { margin-top: .15rem; color: #71888f; font-size: .68rem; }.fiscal-company a { color: #176b78; }
.fiscal-table { margin: 0; font-size: .8rem; }.fiscal-table th { color: #71888f; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; border-bottom-color: #cfe0e5; }.fiscal-table td { border-bottom-color: #edf2f4; }.fiscal-tag { display: inline-block; padding: .24rem .45rem; border-radius: 5px; font-size: .66rem; font-weight: 800; }.fiscal-tag-success { color: #0f766e; background: #ccfbf1; }.fiscal-tag-warning { color: #9a3412; background: #ffedd5; }.fiscal-tag-neutral { color: #47616a; background: #e8eff2; }.fiscal-insights { display: grid; gap: .7rem; }.fiscal-insight { display: flex; gap: .65rem; padding: .7rem; color: #41616a; background: #f5fbfa; border-left: 3px solid #14b8a6; border-radius: 7px; font-size: .78rem; line-height: 1.45; }.fiscal-insight i { flex: 0 0 auto; color: #d97706; }.fiscal-quick-actions { display: grid; gap: .45rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid #e5eef1; }.fiscal-quick-actions a { color: #176b78; font-size: .78rem; text-decoration: none; }.fiscal-quick-actions i { width: 1.3rem; }
body.theme-dark .fiscal-command { color: #d9f5f0; background: radial-gradient(circle at 95% 0, rgba(45,212,191,.12), transparent 30rem); } body.theme-dark .fiscal-filter, body.theme-dark .fiscal-panel { background: #102a2a; border-color: rgba(94,234,212,.16); } body.theme-dark .fiscal-filter .form-select, body.theme-dark .fiscal-filter .form-control { color: #e2f7f4; background: #0b2022; border-color: rgba(94,234,212,.25); } body.theme-dark .fiscal-heading h2, body.theme-dark .attention-item, body.theme-dark .fiscal-table td { color: #d9f5f0; } body.theme-dark .attention-item { background: rgba(13,78,74,.3); border-color: rgba(94,234,212,.16); } body.theme-dark .fiscal-table th { color: #9ac4c2; border-bottom-color: rgba(94,234,212,.2); } body.theme-dark .fiscal-table td { border-bottom-color: rgba(94,234,212,.1); } body.theme-dark .fiscal-insight { color: #c6e4df; background: rgba(13,78,74,.3); } body.theme-dark .fiscal-company, body.theme-dark .fiscal-quick-actions { border-color: rgba(94,234,212,.16); } body.theme-dark .fiscal-result { background: rgba(37,99,235,.14); }
@media (max-width: 900px) { .fiscal-hero, .fiscal-filter { align-items: stretch; flex-direction: column; }.fiscal-filter .form-select, .fiscal-filter .form-control, .fiscal-filter .btn { width: 100%; }.fiscal-actions .btn { flex: 1; }.fiscal-table { min-width: 760px; } }
