/* Rotas · frente OFFLINE: barra de estado da rede e da fila, registos recusados e aviso de versão nova */
.rede{padding:8px 20px 0}
.rede[hidden]{display:none}
.rede-in{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;padding:8px 12px;border-radius:12px;font-size:13.5px;border:1px solid var(--line);background:var(--surface)}
.rede-txt{display:flex;align-items:center;gap:4px 8px;flex-wrap:wrap;flex:1;min-width:0}
.rede-txt i{font-style:normal;color:var(--muted)}
.rede-txt span{color:var(--ink-2)}
.rede-sub{color:var(--muted)!important}
.rede-dot{width:9px;height:9px;border-radius:50%;background:var(--good);flex:none}
.rede-off{background:var(--warn-soft);border-color:transparent}
.rede-off .rede-dot{background:var(--warn)}
.rede-pend .rede-dot{background:var(--accent)}
.rede-ok{background:transparent;border-color:transparent;padding:2px 2px;color:var(--muted)}
.rede-ok b{font-weight:600;color:var(--ink-2)}
.rede-bt{display:flex;gap:8px;flex-wrap:wrap}
.rede-bt .ic,.rede-motivo .ic,.rede-versao .ic{width:15px;height:15px}
.rede-rec{color:var(--bad);border-color:var(--bad-soft)}
.rede-lista{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.rede-lista li{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;padding:12px 0;border-top:1px solid var(--line)}
.rede-lista li>div{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.rede-lista li>.btn{flex:none;white-space:nowrap}
.rede-lista .sm{color:var(--muted);font-size:12.5px}
.rede-lista q{font-size:13.5px;color:var(--ink-2);overflow-wrap:anywhere}
.rede-motivo{margin:2px 0 0;color:var(--bad);font-size:13.5px;font-weight:500;display:flex;gap:6px;align-items:flex-start}
.rede-sheet .sa{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:6px}
.rede-perigo{background:var(--bad)!important;border-color:var(--bad)!important;color:#fff!important}
.rede-versao{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:70;display:flex;align-items:center;gap:12px;background:#0e0f15;color:#f2f3f5;padding:8px 8px 8px 14px;border-radius:14px;font-size:14px;box-shadow:0 18px 40px -14px rgba(0,0,0,.5);max-width:calc(100% - 32px)}
.rede-versao span{display:flex;gap:8px;align-items:center}
.crm-nota-pend time b{color:var(--accent-text)}
.crm-nota-rec time,.crm-nota-rec time b{color:var(--bad)}
@media (max-width:640px){
  .rede{padding:8px 14px 0}
  .rede-bt{width:100%}
  .rede-bt .btn{flex:1 1 auto;justify-content:center;min-height:42px}
  .rede-sheet .sa .btn{flex:1 1 auto;justify-content:center;min-height:46px}
  .rede-versao{bottom:16px;width:calc(100% - 24px);justify-content:space-between}
}
