/* Sign-in reference. Isolated from registration and authenticated screens. */
html:root body[data-auth-screen="login"]{background:radial-gradient(ellipse at 50% 24%,var(--ux-primary-soft),transparent 70%),var(--ux-bg);min-height:100dvh}
html:root[data-theme="dark"] body[data-auth-screen="login"]{--login-panel:#081426;--login-brand:linear-gradient(125deg,#102b53e8,#0b2041ec);background:radial-gradient(ellipse at 50% 10%,#0c1b36,transparent 75%),#061122}
html:root body[data-auth-screen="login"]::before{inset:74px 0 0;background:url('/assets/a39b00bfb270444afaf95072ba0258295a8b429a0422d3867500248c2fafa6d7.png') center/120% auto no-repeat;opacity:.09;filter:saturate(.8);mask-image:linear-gradient(transparent,#000 15%,#000 85%,transparent)}
html:root body[data-auth-screen="login"] .topbar{position:relative;height:74px;display:flex;justify-content:center;padding:10px 28px;gap:0;background:color-mix(in srgb,var(--ux-panel) 75%,transparent);border-bottom:1px solid var(--ux-line)}
html:root body[data-auth-screen="login"] .topbar .brand{font-size:32px;gap:12px;letter-spacing:-1.1px}
html:root body[data-auth-screen="login"] .topbar .brand-logo{width:44px;height:44px;flex-basis:44px}
html:root body[data-auth-screen="login"] .topbar .brand small{display:none}
html:root body[data-auth-screen="login"] .topbar .theme-picker{position:absolute;right:28px;top:50%;transform:translateY(-50%)}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout){min-height:calc(100dvh - 74px);display:flex!important;align-items:center;justify-content:center;padding:40px 24px}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-page{width:100%;max-width:820px;margin:0;padding:0}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-page>.card{position:relative;display:grid;grid-template-columns:46.5% minmax(0,1fr);align-items:stretch;min-height:526px;overflow:hidden;padding:0;background:var(--login-panel,var(--ux-panel))!important;border:1px solid var(--ux-line-strong)!important;border-radius:15px;box-shadow:0 20px 70px #0003;text-align:left}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-page>.card>.auth-identity{position:relative;inset:auto;grid-column:auto;grid-row:auto;width:auto;min-height:0;height:auto;margin:0;padding:48px 38px 42px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:0;background:var(--login-brand,linear-gradient(135deg,#e4eeff,#f0f6ff));border-right:1px solid var(--ux-line);text-align:center}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-identity .auth-mark{margin:0 0 10px;justify-content:center}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-identity .auth-mark .am-logo{width:120px;height:120px;object-fit:contain}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-wordmark{font-size:43px;line-height:1.15;font-weight:750;letter-spacing:-1.7px;white-space:nowrap}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .brand-anami{color:var(--ux-ink)!important}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .brand-med{color:var(--ux-primary)!important}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-tagline{display:block!important;margin:5px 0 30px;font-size:16px;line-height:1.5;color:var(--ux-muted)}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-feature-list{display:grid!important;max-width:100%;width:100%;gap:18px}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-feature-item{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:14px;text-align:left}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-feature-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:var(--ux-primary-soft);color:var(--ux-primary);font-size:22px}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-feature-item strong{display:block;font-size:13px;font-weight:650;line-height:1.4;color:var(--ux-ink)}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-feature-item div>span{display:block;margin-top:3px;font-size:12px;line-height:1.5;color:var(--ux-muted)}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-page>.card>.auth-login-panel{grid-column:auto;min-width:0;margin:0;padding:22px 30px 24px}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-login-panel .login-lock{display:inline-block;padding:3px 11px;margin:0 0 17px;border-radius:999px;font-size:9px;letter-spacing:1.1px;line-height:1.2;background:var(--ux-primary-soft);color:var(--ux-primary)}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-login-panel h1{margin:0;font-size:25px;font-weight:750;line-height:1.25;letter-spacing:-.6px;color:var(--ux-ink);text-align:left}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-heading-brand{color:var(--ux-primary)}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-subtitle{margin:6px 0 20px;font-size:13px;line-height:1.5;color:var(--ux-muted)}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-tabs{display:flex;gap:0;margin:0 0 18px;padding:0;border-radius:8px;background:var(--ux-hover);height:40px}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-tabs a{min-height:40px;flex:1;margin:0;padding:8px;text-align:center;font-size:11px;line-height:22px;border-radius:8px;color:var(--ux-muted)!important}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-tabs a[aria-current]{background:var(--ux-primary-soft)!important;border:1px solid var(--ux-primary)!important;box-shadow:0 0 14px var(--ux-focus);color:var(--ux-ink)!important}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .register-form{margin:0;max-width:100%}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .register-form label{display:block;margin:12px 0 5px;font-size:11px;font-weight:600;color:var(--ux-text)}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .register-form label:first-of-type{margin-top:0}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-email-field,html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .password-field{position:relative}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .register-form input:not([type="hidden"]){width:100%;min-height:42px;height:42px;padding:10px 42px!important;font-size:13px;border:1px solid var(--ux-line-strong)!important;border-radius:8px;background:var(--ux-soft)!important;color:var(--ux-ink)!important;box-shadow:inset 0 1px 5px #0001}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-input-icon{position:absolute;left:12px;top:12px;width:18px;height:18px;color:var(--ux-muted);pointer-events:none}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .password-toggle{right:0;bottom:0;min-width:42px;min-height:42px;height:42px;padding:10px}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .password-toggle svg{width:19px;height:19px}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .register-form .primary{width:100%;min-height:44px;margin:14px 0 0;padding:10px 18px;font-size:13px;font-weight:650;color:#fff!important;background:linear-gradient(110deg,#2176ee,#1a60e9)!important;border:1px solid #72a5ff!important;border-radius:8px;box-shadow:0 0 14px #2676ed38}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .register-form .primary::after,html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .signup-prompt a::after{content:'→';font-size:18px;margin-left:8px;line-height:1}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-security-note{display:flex;justify-content:center;gap:7px;margin:10px 0 4px;font-size:9px;line-height:1.5;color:var(--ux-muted)}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-security-note svg{width:13px;height:13px}
html:root body[data-auth-screen="login"] a.forgot-link{display:flex;justify-content:center;min-height:40px;margin:0;padding:9px 0;font-size:11px;color:var(--ux-primary)!important}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .signup-prompt{margin:6px 0 0;padding:12px 0 0;border-top:1px solid var(--ux-line);text-align:left}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .signup-prompt p{margin:0;font-size:11px;line-height:1.5;color:var(--ux-muted)}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .signup-prompt a{display:inline-flex;justify-content:flex-start;align-items:center;min-height:40px;padding:6px 0;font-size:13px;color:var(--ux-primary)!important}
@media(max-width:700px){
 html:root body[data-auth-screen="login"] .topbar{justify-content:space-between;padding:10px 18px}
 html:root body[data-auth-screen="login"] .topbar .brand{font-size:25px;gap:8px}
 html:root body[data-auth-screen="login"] .topbar .theme-picker{right:18px}
 html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout){padding:24px 16px;align-items:flex-start}
 html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-page{max-width:460px}
 html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-page>.card{display:block;min-height:0}
 html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-page>.card>.auth-identity{padding:24px;border-right:0;border-bottom:1px solid var(--ux-line)}
 html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-identity .auth-mark .am-logo{width:68px;height:68px}
 html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-wordmark{font-size:32px}
 html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-tagline{margin:5px 0 0;font-size:13px}
 html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-feature-list{display:none!important}
 html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-page>.card>.auth-login-panel{padding:24px}
 html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-login-panel h1{font-size:23px}
 html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .register-form input:not([type="hidden"]){font-size:16px;height:46px}
 html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .password-toggle{height:46px}
 html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-input-icon{top:14px}
}
/* Override legacy selectors that otherwise change the reference proportions. */
html:root body[data-auth-screen="login"]{background:radial-gradient(ellipse at 50% 24%,var(--ux-primary-soft),transparent 70%),var(--ux-bg)!important}
html:root[data-theme="dark"] body[data-auth-screen="login"]{background:radial-gradient(ellipse at 50% 10%,#0c1b36,transparent 75%),#061122!important}
html:root body[data-auth-screen="login"]::before{display:block!important;background-image:url('/assets/a39b00bfb270444afaf95072ba0258295a8b429a0422d3867500248c2fafa6d7.png'),url('/assets/a39b00bfb270444afaf95072ba0258295a8b429a0422d3867500248c2fafa6d7.png');background-size:620px auto;background-position:left -180px center,right -180px center;background-repeat:no-repeat;opacity:.1}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-page{max-width:760px}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-page>.card>.auth-identity .auth-wordmark{font-size:43px;letter-spacing:-1.7px}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-page>.card>.auth-identity{padding:40px 38px}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-page .register-form label{font-size:11px;margin:12px 0 5px}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-page .register-form label:first-of-type{margin-top:0}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-page .register-form input:not([type="hidden"]){height:42px;min-height:42px}
html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .auth-feature-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:700px){
 html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-page{max-width:460px}
 html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-page>.card>.auth-identity{padding:24px}
 html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-page>.card>.auth-identity .auth-wordmark{font-size:32px}
 html:root body[data-auth-screen="login"] .guest-layout:not(.account-layout) .login-page .register-form input:not([type="hidden"]){height:46px;min-height:46px}
}

.courtesy-card{padding:0;overflow:hidden;min-width:0;border-radius:16px}
.courtesy-card-heading{display:grid;gap:8px;padding:20px;border-bottom:1px solid var(--line)}
.courtesy-card-heading h3{margin:0;overflow-wrap:anywhere;font-size:17px;line-height:1.4}
.courtesy-card .courtesy-plan{width:fit-content;padding:5px 10px;border:1px solid var(--line);border-radius:8px;color:var(--cyan);font-weight:600}
.courtesy-card-body{padding:20px}
.courtesy-card .register-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0}
.courtesy-card .register-form label{margin:0!important;min-width:0;font-size:14px;line-height:1.5}
.courtesy-card .register-form select,.courtesy-card .register-form input[type=text]{display:block;width:100%;box-sizing:border-box;min-height:48px;margin-top:8px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--panel,#142331);color:var(--text,#eff4f7);font:inherit;font-size:16px}
.courtesy-card .register-form select:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.courtesy-card .register-form label:nth-of-type(3),.courtesy-card .register-form label:nth-of-type(4),.courtesy-card .register-form button{grid-column:1/-1}
.courtesy-card .register-form label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:10px;padding:14px;border-radius:10px;background:#ffffff06}
.courtesy-card .register-form input[type=checkbox]{flex:0 0 22px;width:22px;height:22px;min-height:22px;margin:0;padding:0;accent-color:var(--cyan)}
.courtesy-card .register-form button{width:100%;margin:0;min-height:48px;border-radius:10px}
@media(max-width:600px){.courtesy-card-heading,.courtesy-card-body{padding:16px}.courtesy-card .register-form{grid-template-columns:minmax(0,1fr);gap:16px}.courtesy-card .register-form label{grid-column:1}}

/* Lista de usuários: o estilo vinha em atributos style= inline, que a própria
   resposta bloqueia (CSP `style-src-attr 'none'`) — ou seja, não era aplicado.
   Movido para cá, onde a folha é servida com nonce e de fato vale. */
.courtesy-card-heading h3{margin:0}
.courtesy-card-heading .courtesy-card-title{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}
.admin-courtesy-compact{display:flex;flex-wrap:wrap;gap:8px;align-items:end}
.admin-courtesy-compact label{font-size:.85rem}
.admin-courtesy-compact .campo-plano{flex:0 1 170px}
.admin-courtesy-compact .campo-prazo{flex:0 1 140px}
.admin-courtesy-compact .campo-justificativa{flex:1 1 180px}
.admin-courtesy-compact select,.admin-courtesy-compact input[type=text]{width:100%;min-height:34px;padding:5px 8px;font-size:.85rem}
.admin-courtesy-compact button.primary{padding:7px 12px;font-size:.85rem;width:auto;min-height:34px}
.admin-delete-inline{margin-top:6px}
.admin-delete-link{font-size:.85rem}
.admin-delete-confirm{border:1px solid #b91c1c;border-radius:9px}
.admin-delete-confirm-button{width:auto;min-height:0;padding:8px 12px;border:1px solid #b91c1c;border-radius:5px;color:#b91c1c;background:transparent;cursor:pointer}

/* Relatório de vendas de influenciadores: as tabelas vinham com style= em
   atributo, que a resposta bloqueia (CSP `style-src-attr 'none'`) — eram 53
   atributos renderizados sem efeito nenhum, inclusive a rolagem horizontal
   que torna a tabela utilizável no celular. */
.rel-rolagem{overflow-x:auto}
.rel-tabela{width:100%;border-collapse:collapse}
.rel-cabecalho{text-align:left;padding:9px}
.rel-cel{padding:9px;border-bottom:1px solid #40506a}
.rel-cel-simples{padding:9px}
.rel-cartoes{display:flex;flex-wrap:wrap;gap:12px}
.rel-cartao{min-width:175px;flex:1}

/* Shared palette for the application and public pages. */
:root{color-scheme:light;--ux-bg:#f3f6fb;--ux-panel:#fff;--ux-ink:#0f1f3a;--ux-text:#22314c;--ux-muted:#5b6b85;--ux-line:#e2e8f2;--ux-line-strong:#cfd8e6;--ux-primary:#1d5fd1;--ux-primary-hover:#174fb0;--ux-primary-soft:#e9f0fd;--ux-action:#1d5fd1;--ux-action-hover:#174fb0;--ux-hover:#f4f7fc;--ux-soft:#f5f9ff;--ux-warn-bg:#eef4ff;--ux-warn-line:#b9cdf1;--ux-warn-text:#0f3d99;--ux-error-bg:#fdecec;--ux-error-line:#f4c2c2;--ux-error-text:#a42121;--ux-success:#13824a;--ux-placeholder:#697b95;--ux-focus:#1d5fd140;--ux-shadow:0 1px 2px #1020400a,0 6px 18px #1020400f;
 --bg:var(--ux-bg);--panel:var(--ux-panel);--ink:var(--ux-ink);--text:var(--ux-text);--muted:var(--ux-muted);--line:var(--ux-line);--primary:var(--ux-primary);--primary-soft:var(--ux-primary-soft)}
:root[data-theme="dark"]{color-scheme:dark;--ux-bg:#0b1220;--ux-panel:#141f31;--ux-ink:#edf3ff;--ux-text:#d5deee;--ux-muted:#a6b5ce;--ux-line:#2b3a50;--ux-line-strong:#536780;--ux-primary:#8bb8ff;--ux-primary-hover:#afceff;--ux-primary-soft:#213858;--ux-action:#245bc1;--ux-action-hover:#1d4fae;--ux-hover:#1d2c43;--ux-soft:#1a2c46;--ux-warn-bg:#192e4e;--ux-warn-line:#496b9a;--ux-warn-text:#bdd5ff;--ux-error-bg:#3c202b;--ux-error-line:#965165;--ux-error-text:#ffb8c2;--ux-success:#83deb0;--ux-placeholder:#a6b5ce;--ux-focus:#8bb8ff55;--ux-shadow:0 1px 2px #0003,0 6px 18px #0003}
.theme-picker{display:inline-flex;align-items:center;gap:2px;flex-shrink:0;padding:2px;border:1px solid var(--ux-line);border-radius:999px;background:var(--ux-hover)}
html:root body .theme-picker .theme-option{display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ux-primary);box-shadow:none;cursor:pointer;transition:none}
.theme-swatch{display:block;width:18px;height:18px;border:1px solid #73839b;border-radius:50%}
.theme-swatch-light{background:#fff}.theme-swatch-dark{background:#141f31}
html:root body .theme-option[aria-pressed="true"] .theme-swatch{outline:2px solid var(--ux-primary);outline-offset:3px}
html:root body .theme-option:hover{background:var(--ux-primary-soft)}
html:root body .theme-option:focus-visible{outline:3px solid var(--ux-primary)!important;outline-offset:2px}
html:root body .topbar{flex-direction:column;align-items:stretch;justify-content:center;gap:6px}
html:root{--ux-top:112px}
html:root body .topbar .theme-picker{align-self:flex-end}
html:root body[data-authenticated="false"] .topbar{flex-direction:row;align-items:center;justify-content:center;gap:32px}
html:root body[data-authenticated="false"] .topbar .theme-picker{align-self:center}
html:root body .am-logo{object-fit:contain;border-radius:0!important;background:transparent}
/* Home surfaces share the same palette as consultation tools. */
html:root body :is(.home-user,.home-search-box,.home-results,.home-tile,.home-card,.home-recent){background:var(--ux-panel)}
html:root body .home-chips button{background:var(--ux-panel)!important}
html:root body .home-chips button[aria-pressed=true]{background:var(--ux-action)!important;color:#fff!important}
html:root body .sidebar .nav-plan-badge{background:var(--ux-soft);border-color:var(--ux-line);color:var(--ux-primary)}
html:root body .sidebar :is(a svg,a.nav-premium){color:var(--ux-muted)}
html:root body .sidebar a.nav-premium:hover{background:var(--ux-hover)!important}
@media(max-width:760px){
 html:root body .topbar{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}
 html:root body .topbar .theme-picker{align-self:center}
 html:root body[data-authenticated="false"] .topbar{height:72px;gap:8px;justify-content:space-between;padding:0 16px}
 html:root body[data-authenticated="false"] .topbar .brand{font-size:24px}
}
@media(max-width:360px){html:root body .topbar .brand{font-size:21px;gap:8px}}
@media print{.theme-picker{display:none!important}}


/* V5: a preferência é definida em html[data-theme], como em todas as abas.
   Não usar fundo claro no modo dark, mesmo se algum estilo legado for carregado. */
html:root[data-theme="dark"] body #emergencyFlow :is(.panel,.decision,.sidepanel),
html:root[data-theme="dark"] body #emergencyFlow button.catalog-card{
 background:var(--ux-panel,#141f31)!important;
 color:var(--ux-text,#d5deee)!important;
 border-color:var(--ux-line,#2b3a50)!important;
 box-shadow:var(--ux-shadow)!important;
}
html:root[data-theme="dark"] body #emergencyFlow :is(.decision h2,.sidetitle,.question,.headrow h1,.detail-heading h2,.catalog-card .name,.timeitem strong){
 color:var(--ux-ink,#edf3ff)!important;
}
html:root[data-theme="dark"] body #emergencyFlow :is(.subtle,.step-count,.detail-path,.catalog-card .foot,.timeitem em,.catalog-info,.headrow p,.detail-heading p){
 color:var(--ux-muted,#a6b5ce)!important;
}
html:root[data-theme="dark"] body #emergencyFlow .conduct{
 background:var(--ux-soft,#1a2c46)!important;
 color:var(--ux-text,#d5deee)!important;
 border-left-color:var(--ux-primary,#8bb8ff)!important;
}
html:root[data-theme="dark"] body #emergencyFlow .conduct.critical{
 background:var(--ux-error-bg,#3c202b)!important;
 color:var(--ux-error-text,#ffb8c2)!important;
 border-left-color:var(--ux-error-text,#ffb8c2)!important;
}
html:root[data-theme="dark"] body #emergencyFlow :is(.conduct.warning,.conduct.orange){
 background:var(--ux-warn-bg,#192e4e)!important;
 color:var(--ux-warn-text,#bdd5ff)!important;
 border-left-color:var(--ux-warn-line,#496b9a)!important;
}
html:root[data-theme="dark"] body #emergencyFlow .conduct :is(p,ul,ol,li,strong,em,span){color:inherit!important}
html:root[data-theme="dark"] body #emergencyFlow .timeitem{
 background:var(--ux-soft,#1a2c46)!important;
 color:var(--ux-text,#d5deee)!important;
 border-color:var(--ux-line,#2b3a50)!important;
}
html:root[data-theme="dark"] body #emergencyFlow .timeitem.active{
 background:var(--ux-primary-soft,#213858)!important;
 border-color:var(--ux-primary,#8bb8ff)!important;
}
html:root[data-theme="dark"] body #emergencyFlow :is(button.option,button.actionbtn,button.back-to-list,button.filter){
 background:var(--ux-panel,#141f31)!important;
 color:var(--ux-ink,#edf3ff)!important;
 border-color:var(--ux-line-strong,#536780)!important;
 box-shadow:none!important;
}
html:root[data-theme="dark"] body #emergencyFlow :is(button.option,button.actionbtn,button.back-to-list,button.filter):hover{
 background:var(--ux-hover,#1d2c43)!important;
 border-color:var(--ux-primary,#8bb8ff)!important;
}
html:root[data-theme="dark"] body #emergencyFlow :is(button.primary,button.filter.on){
 background:var(--ux-action,#245bc1)!important;
 color:#fff!important;
 border-color:var(--ux-primary,#8bb8ff)!important;
}
html:root[data-theme="dark"] body #emergencyFlow .safety{
 background:var(--ux-warn-bg,#192e4e)!important;
 color:var(--ux-warn-text,#bdd5ff)!important;
 border-color:var(--ux-warn-line,#496b9a)!important;
}
html:root[data-theme="dark"] body #emergencyFlow .safety :is(p,strong,small){color:inherit!important}
html:root[data-theme="dark"] body #emergencyFlow .step.critical{
 background:var(--ux-error-bg,#3c202b)!important;color:var(--ux-error-text,#ffb8c2)!important;
}
html:root[data-theme="dark"] body #emergencyFlow :is(.step.warning,.step.orange){
 background:var(--ux-warn-bg,#192e4e)!important;color:var(--ux-warn-text,#bdd5ff)!important;
}
html:root[data-theme="dark"] body #emergencyFlow input.search{
 background:var(--ux-panel,#141f31)!important;color:var(--ux-ink,#edf3ff)!important;
 border-color:var(--ux-line-strong,#536780)!important;
}
/* Nenhum cartão deve reservar uma caixa para ícone que não aparece. */
html:root body #emergencyFlow :is(.card-icon,.detail-icon){display:none!important}
html:root body #emergencyFlow button.catalog-card{
 justify-content:center;
 align-items:flex-start;
 gap:12px;
}
