/* Ferramentas gratuitas do DORA (/dora/ferramentas/): extras sobre css/registo-nis2.css (classes rg-).
   Classes com prefixo df-. Regras claras e, a seguir, a versão escura em :where([data-theme="dark"]). */
.df-tag{display:inline-block;font-size:11.5px;font-weight:700;border-radius:4px;padding:0 6px;margin-left:4px;border:1px solid #7A4F05;color:#7A4F05;background:transparent;white-space:nowrap;vertical-align:baseline}
:where([data-theme="dark"]) .df-tag{border-color:#F0C674;color:#F0C674}
.df-tag-nao{border-color:#4F596E;color:#4F596E}
:where([data-theme="dark"]) .df-tag-nao{border-color:#A3ADC4;color:#A3ADC4}
.df-tag-inferido{border-color:#1E4FD0;color:#1E4FD0}
:where([data-theme="dark"]) .df-tag-inferido{border-color:#8CABFF;color:#8CABFF}
.df-res.df-v-excluida,.df-res.df-v-fora,.df-res.df-v-prestador_sem_clientes{border-left-color:#4F596E}
.df-res.df-v-indeterminado{border-left-color:#7A4F05}
.df-res.df-v-excluida .rg-kind,.df-res.df-v-fora .rg-kind,.df-res.df-v-prestador_sem_clientes .rg-kind{color:#13203B}
:where([data-theme="dark"]) .df-res.df-v-excluida .rg-kind,:where([data-theme="dark"]) .df-res.df-v-fora .rg-kind,:where([data-theme="dark"]) .df-res.df-v-prestador_sem_clientes .rg-kind{color:#E5EAF4}
.df-res.df-v-indeterminado .rg-kind{color:#7A4F05}
:where([data-theme="dark"]) .df-res.df-v-indeterminado .rg-kind{color:#F0C674}
.df-pend{font-size:14.5px}
.df-obrs{list-style:none;display:grid;gap:8px;margin:0;padding:0}
.df-obr{display:grid;gap:3px;border:1px solid #C9D1E2;border-left:5px solid #0A6F68;border-radius:10px;padding:10px 12px;background:#FFFFFF;font-size:14px;min-width:0}
:where([data-theme="dark"]) .df-obr{border-color:#2B3654;border-left-color:#4FD1C5;background:#131B2E}
.df-obr-depende{border-left-color:#7A4F05}
:where([data-theme="dark"]) .df-obr-depende{border-left-color:#F0C674}
.df-obr-nao{border-left-color:#C9D1E2;opacity:.85}
:where([data-theme="dark"]) .df-obr-nao{border-left-color:#2B3654}
.df-obr strong{font-size:14.5px;overflow-wrap:anywhere}
.df-passos{padding-left:20px!important;display:grid;gap:6px}
.df-tabela-ct{overflow-x:auto;margin:8px 0}
.df-tabela{border-collapse:collapse;width:100%;font-size:14px}
.df-tabela caption{text-align:left;font-weight:600;padding:4px 0 8px}
.df-tabela th,.df-tabela td{border:1px solid #C9D1E2;padding:8px 10px;text-align:left;vertical-align:top}
:where([data-theme="dark"]) .df-tabela th,:where([data-theme="dark"]) .df-tabela td{border-color:#2B3654}
.df-tabela thead th{background:#EDF1F8}
:where([data-theme="dark"]) .df-tabela thead th{background:#19233B}
.df-tabela td:nth-child(n+3){white-space:nowrap;font-variant-numeric:tabular-nums}
.df-sec{padding-block:32px;background:#FFFFFF}
:where([data-theme="dark"]) .df-sec{background:#0D1322}
.df-sec .container{max-width:980px}
.df-sec h2{font-size:24px;margin:0 0 12px}
.df-sec p,.df-sec li{color:#13203B}
:where([data-theme="dark"]) .df-sec p,:where([data-theme="dark"]) .df-sec li{color:#E5EAF4}
.df-sec p{margin:0 0 10px;text-align:justify;hyphens:auto}
.df-sec ul{padding-left:20px;margin:0 0 10px}
.df-sec a{color:#1E4FD0}
:where([data-theme="dark"]) .df-sec a{color:#8CABFF}
.df-sec a:focus-visible{outline:3px solid #1E4FD0;outline-offset:2px}
:where([data-theme="dark"]) .df-sec a:focus-visible{outline:3px solid #8CABFF;outline-offset:2px}
#df-raiz .rg-lista{margin-top:4px!important}
#df-resultado{margin-top:18px}
@media (max-width:760px){
.df-sec p{hyphens:none}
.df-tabela td:nth-child(n+3){white-space:normal}
}
@media print{
body>header,body>footer,.breadcrumb-bar,.rg-toolbar,.df-sec{display:none!important}
#df-formulario,#df-categorias,#df-pais-bloco,#df-dimensao,#df-perguntas{display:none!important}
.rg-page{background:#fff!important;padding:0!important}
#df-raiz,#df-raiz *{color:#000!important;background:#fff!important}
}
[data-theme="dark"] section.hero h1{color:#F5F7FB}
